liyuheng55555 commented on code in PR #14360:
URL: https://github.com/apache/iotdb/pull/14360#discussion_r1877448463
##########
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ProcedureManager.java:
##########
@@ -268,33 +265,28 @@ public TSStatus deleteDatabases(
}
}
}
- final List<TSStatus> procedureStatus = new ArrayList<>();
- final boolean isSucceed = waitingProcedureFinished(procedureIds,
procedureStatus);
+ final TSStatus result = waitingProcedureFinished(procedure);
Review Comment:
Does the for-loop submit multiple DeleteDatabaseProcedure, but only wait the
last procedure here ?
_By the way, I believe this is the only place where
`waitingProcedureFinished` need to wait multiple procedures._
--
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]