private boolean deleteRecordInStorage(int recordId) throws IOException {
    try {
      storage.deleteRecord(recordId);
      return true;
    }
    catch (RecordAlreadyDeletedException ex) {
      if (IGNORE_ALREADY_DELETED_ERRORS) {
        LOG.warn("Record [" + recordId + "] is already deleted -> likely improper app shutdown?");
        return false;
      }
      else {
        throw ex;
      }
    }
  }
private boolean deleteRecordInStorage(int recordId)