public TSStatus handleMetaChanges(final PipeHandleMetaChangePlan plan) {
    acquireWriteLock();
    try {
      return handleMetaChangesInternal(plan);
    } finally {
      releaseWriteLock();
    }
  }
Replace the local {@link PipeMeta}s by the {@link PipeMeta}s from the leader {@link
ConfigNode}.

@param plan The plan containing all the {@link PipeMeta}s from leader {@link ConfigNode}
@return {@link TSStatusCode#SUCCESS_STATUS}
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/pipe/PipeTaskInfo.java