public boolean isPreviousTaskStopped() {
    return isPreviousTaskStopped;
  }
Used for recovering StorageEngine or recovering stopped repair task
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/repair/RepairLogger.java