Caideyipi commented on code in PR #18099:
URL: https://github.com/apache/iotdb/pull/18099#discussion_r3517854492
##########
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/StateMachineProcedure.java:
##########
@@ -149,6 +149,15 @@ protected Procedure<Env>[] execute(final Env env) throws
InterruptedException {
}
TState state = getCurrentState();
+ if (state == null) {
+ LOG.warn(
+ "StateMachineProcedure pid={} is scheduled with EOF state, skip
execution: {}",
+ getProcId(),
+ this);
Review Comment:
Applied in 52632c4ee8e: moved the EOF-state error messages into the
ConfigNode procedure i18n messages with both English and Chinese entries.
--
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]