docs: private void flush(Collection<Record> recordsToBeFlushed, boolean backup) {
          for (Record record : recordsToBeFlushed) {
              mapDataStore.flush(record.getKey(), record.getValue(), backup);
          }
      }