public boolean isManagedByFlushManager() {
    return managedByFlushManager;
  }
End empty file and remove it from file system
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/TsFileProcessor.java