@Override
  public void setVersion(int expectedVersion) throws IOException {
    withWriteLock(() -> {
      recordsTable.setVersion(expectedVersion);
    });
  }
@Override
  public void setVersion(int expectedVersion)