public FlushResult flush(boolean force) throws IOException {
    try {
      flusherAndCompactor.resetChangesAfterLastFlush();
      FlushResult flushResult = region.flush(force);
      flusherAndCompactor.recordLastFlushTime();
      return flushResult;
    } catch (WALSyncTimeoutIOException e) {
      LOG.error(HBaseMarkers.FATAL, "WAL sync timeout. Aborting server.");
      server.abort("WAL sync timeout", e);
      throw e;
    }
  }
Log the error and abort the master daemon immediately. Use this utility only when procedure
state store update fails and the only way to recover is by terminating the active master so
that new failed-over active master can resume the procedure execution.
@param e IO error that causes active master to abort.
@throws IOException IO error that causes active master to abort.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/region/MasterRegion.java