DbTransaction txn = env.beginTransaction(txnTimeout);
boolean txnDone = false;
try {
byte[] result = oidsDb.get(txn, encodeLong(oid), true);
txnDone = true;
txn.commit();
GetWaitingResult waiters = getWaiting(oid);
return (result == null) ? null
: new GetObjectForUpdateResults(
result, waiters == GetWaitingResult.WRITERS,
waiters == GetWaitingResult.READERS);