public boolean shouldThrottle() {
    return getTotalDiskUsage() >= getThrottleThreshold();
  }
Wait until all write-ahead logs are flushed.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/wal/WALManager.java