You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "Caideyipi (via GitHub)" <gi...@apache.org> on 2026/07/03 06:18:35 UTC
Re: [PR] Fix StateMachineProcedure EOF state re-execution [iotdb]
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: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org