tdb: test and resolultion for tdb_lockall starvation.