VGalaxies commented on code in PR #11532:
URL: https://github.com/apache/iotdb/pull/11532#discussion_r1392358213
##########
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/pipe/runtime/PipeMetaSyncer.java:
##########
@@ -104,16 +117,39 @@ private synchronized void sync() {
pipeAutoRestartRoundCounter.set(0);
}
- final TSStatus status = procedureManager.pipeMetaSync();
+ final TSStatus metaSyncStatus = procedureManager.pipeMetaSync();
if (somePipesNeedRestarting
Review Comment:
> Besides, if there are "stopped" pipe, these pipe may be automatically
restarted. Yet, there will be no pipe to restart given that there are no pipes
in the cluster.
When there are "stopped" pipes in the cluster, should the result of
`PipeTaskCoordinator.hasAnyPipe()` be true?
--
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]