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