@Override
    public void apply(DataRegion dataRegion, TsFileProcessor tsFileProcessor, boolean isSeq) {
      dataRegion.asyncCloseOneTsFileProcessor(isSeq, tsFileProcessor);
    }
TsFileFlushPolicy is applied when a TsFileProcessor is full after insertion. For standalone
IoTDB, the flush or close is executed without constraint. But in the distributed version, the
close is controlled by the leader and should not be performed by the follower alone.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/flush/TsFileFlushPolicy.java