liyuheng55555 commented on code in PR #14871:
URL: https://github.com/apache/iotdb/pull/14871#discussion_r1959330696


##########
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/StateMachineProcedure.java:
##########
@@ -155,11 +155,14 @@ protected Procedure<Env>[] execute(final Env env)
       TState state = getCurrentState();
       if (states.isEmpty()) {
         setNextState(getStateId(state));
+        addNextStateAndCalculateCycles();
       }

Review Comment:
   Please add some comments for 156-159, such as "// init for the first 
execution"



-- 
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