You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "SteveYurongSu (via GitHub)" <gi...@apache.org> on 2024/11/26 16:09:59 UTC

Re: [PR] [IoTConsensusV2 X Region Migration] Start consensus pipe in proper time rather than automatically start i… [iotdb]

SteveYurongSu commented on code in PR #14196:
URL: https://github.com/apache/iotdb/pull/14196#discussion_r1858830242


##########
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/pipe/task/CreatePipeProcedureV2.java:
##########
@@ -203,7 +203,9 @@ public void executeFromCalculateInfoForTask(ConfigNodeProcedureEnv env) {
     }
 
     pipeRuntimeMeta = new PipeRuntimeMeta(consensusGroupIdToTaskMetaMap);
-    pipeRuntimeMeta.getStatus().set(PipeStatus.RUNNING);
+    if (!createPipeRequest.needManuallyStart) {

Review Comment:
   Can needManuallyStart be null?



-- 
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: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org