ygerzhedovich commented on a change in pull request #9318:
URL: https://github.com/apache/ignite/pull/9318#discussion_r717437846
##########
File path:
modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/stat/IgniteStatisticsConfigurationManager.java
##########
@@ -101,6 +102,9 @@
/** Started flag (used to skip updates of the distributed metastorage on
start). */
private volatile boolean started;
+ /** Active flag (used to skip commands in inactive cluster.) */
Review comment:
```suggestion
/** Active flag (used to skip commands in inactive cluster). */
```
##########
File path:
modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/stat/IgniteStatisticsConfigurationManager.java
##########
@@ -667,6 +716,12 @@ private void onChangeStatisticConfiguration(
StatisticsObjectConfiguration oldCfg,
StatisticsObjectConfiguration newCfg
) {
+ if (!active) {
Review comment:
should we check the state inside the synchronized block below?
--
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]