private long getTTL(InsertNode insertNode) {
    if (insertNode.getTableName() == null) {
      return DataNodeTTLCache.getInstance().getTTLForTree(insertNode.getTargetPath().getNodes());
    } else {
      return DataNodeTTLCache.getInstance().getTTLForTable(databaseName, insertNode.getTableName());
    }
  }
Release all threads waiting for this data region successfully deleted
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/DataRegion.java