@Override
  public int acquireNewRecord() throws IOException {
    return withWriteLock(() -> {
      int record = recordsTable.createNewRecord();
      ((RefCountingRecordsTableLF)recordsTable).incRefCount(record);
      return record;
    });
  }
@Override
  public int acquireNewRecord()