@Override
  public void acquireRecord(int record) throws IOException {
    waitForPendingWriteForRecord(record);
    if (!useContentHashes) {
      withWriteLock(() -> ((RefCountingRecordsTableLF)recordsTable).incRefCount(record));
    }
  }
@Override
  public void acquireRecord(int record)