Pengzna commented on code in PR #12355:
URL: https://github.com/apache/iotdb/pull/12355#discussion_r1616757318


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/execution/config/executor/ClusterConfigTaskExecutor.java:
##########
@@ -1669,7 +1671,9 @@ public SettableFuture<ConfigTaskResult> 
createPipe(CreatePipeStatement createPip
     SettableFuture<ConfigTaskResult> future = SettableFuture.create();
 
     // Validate pipe name
-    if 
(createPipeStatement.getPipeName().startsWith(PipeStaticMeta.SYSTEM_PIPE_PREFIX))
 {
+    if (!(DataRegionConsensusImpl.getInstance() instanceof PipeConsensus

Review Comment:
   I know what you mean, this was mostly written ad hoc for quick testing,  I 
will fix it



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to