void compact(@NotNull ClientState state) {
    if (state.myCurrentOperationState == OperationState.NONE && state.myCommandTimestamp % COMMAND_TO_RUN_COMPACT == 0) {
      doCompact(state);
    }
  }
void compact(@NotNull ClientState state)