public TSStatus dropTrigger(TDropTriggerReq req) {
    return configManager
        .getProcedureManager()
        .dropTrigger(
            req.getTriggerName(), req.isSetIsGeneratedByPipe() && req.isIsGeneratedByPipe());
  }
Create a trigger in cluster.

<p>If TriggerType is STATELESS, we should create TriggerInstance on all DataNodes, the
DataNodeLocation in TriggerInformation will be null.

<p>If TriggerType is STATEFUL, we should create TriggerInstance on the DataNode with the lowest
load, and DataNodeLocation of this DataNode will be saved.

<p>All DataNodes will add TriggerInformation of this trigger in local TriggerTable.

@param req the createTrigger request
@return status of create this trigger
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/TriggerManager.java