Re: [PR] Fix StateMachineProcedure EOF state re-execution [iotdb]
jt2594838 merged PR #18122: URL: https://github.com/apache/iotdb/pull/18122 -- 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]
Re: [PR] Fix StateMachineProcedure EOF state re-execution [iotdb]
jt2594838 merged PR #18099: URL: https://github.com/apache/iotdb/pull/18099 -- 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]
Re: [PR] Fix StateMachineProcedure EOF state re-execution [iotdb]
sonarqubecloud[bot] commented on PR #18099: URL: https://github.com/apache/iotdb/pull/18099#issuecomment-4888691933 ## [](https://sonarcloud.io/dashboard?id=apache_iotdb&pullRequest=18099) **Quality Gate passed** Issues  [0 New issues](https://sonarcloud.io/project/issues?id=apache_iotdb&pullRequest=18099&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  [0 Accepted issues](https://sonarcloud.io/project/issues?id=apache_iotdb&pullRequest=18099&issueStatuses=ACCEPTED) Measures  [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_iotdb&pullRequest=18099&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_iotdb&pullRequest=18099&metric=new_coverage&view=list)  [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_iotdb&pullRequest=18099&metric=new_duplicated_lines_density&view=list) [See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=apache_iotdb&pullRequest=18099) -- 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]
Re: [PR] Fix StateMachineProcedure EOF state re-execution [iotdb]
sonarqubecloud[bot] commented on PR #18099: URL: https://github.com/apache/iotdb/pull/18099#issuecomment-4875626927 ## [](https://sonarcloud.io/dashboard?id=apache_iotdb&pullRequest=18099) **Quality Gate passed** Issues  [0 New issues](https://sonarcloud.io/project/issues?id=apache_iotdb&pullRequest=18099&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  [0 Accepted issues](https://sonarcloud.io/project/issues?id=apache_iotdb&pullRequest=18099&issueStatuses=ACCEPTED) Measures  [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_iotdb&pullRequest=18099&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_iotdb&pullRequest=18099&metric=new_coverage&view=list)  [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_iotdb&pullRequest=18099&metric=new_duplicated_lines_density&view=list) [See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=apache_iotdb&pullRequest=18099) -- 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]
Re: [PR] Fix StateMachineProcedure EOF state re-execution [iotdb]
sonarqubecloud[bot] commented on PR #18099: URL: https://github.com/apache/iotdb/pull/18099#issuecomment-4874386795 ## [](https://sonarcloud.io/dashboard?id=apache_iotdb&pullRequest=18099) **Quality Gate passed** Issues  [0 New issues](https://sonarcloud.io/project/issues?id=apache_iotdb&pullRequest=18099&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  [0 Accepted issues](https://sonarcloud.io/project/issues?id=apache_iotdb&pullRequest=18099&issueStatuses=ACCEPTED) Measures  [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_iotdb&pullRequest=18099&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_iotdb&pullRequest=18099&metric=new_coverage&view=list)  [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_iotdb&pullRequest=18099&metric=new_duplicated_lines_density&view=list) [See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=apache_iotdb&pullRequest=18099) -- 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]
Re: [PR] Fix StateMachineProcedure EOF state re-execution [iotdb]
sonarqubecloud[bot] commented on PR #18099: URL: https://github.com/apache/iotdb/pull/18099#issuecomment-4873970667 ## [](https://sonarcloud.io/dashboard?id=apache_iotdb&pullRequest=18099) **Quality Gate failed** Failed conditions  [B Maintainability Rating on New Code](https://sonarcloud.io/dashboard?id=apache_iotdb&pullRequest=18099) (required ≥ A) [See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=apache_iotdb&pullRequest=18099) ##  Catch issues before they fail your Quality Gate with our IDE extension  [SonarQube for IDE](https://www.sonarsource.com/products/sonarlint/features/connected-mode/?referrer=pull-request) -- 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]
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[] 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]
