You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Gagarkin (Jira)" <ji...@apache.org> on 2023/02/27 11:47:00 UTC

[jira] [Created] (IGNITE-18908) Distributed configuration doesn't generate events when the configuration property is updated with the same value

Ivan Gagarkin created IGNITE-18908:
--------------------------------------

             Summary: Distributed configuration doesn't generate events when the configuration property is updated with the same value
                 Key: IGNITE-18908
                 URL: https://issues.apache.org/jira/browse/IGNITE-18908
             Project: Ignite
          Issue Type: Bug
            Reporter: Ivan Gagarkin


Steps to reproduce:

Add the following code to org.apache.ignite.internal.runner.app.ItIgniteNodeRestartTest#testCfgGapWithoutData

 
{code:java}
IgniteImpl ignite = startNode(0);
Integer value = ignite.clusterConfiguration()
        .getConfiguration(RocksDbStorageEngineConfiguration.KEY)
        .flushDelayMillis().value();

ignite.clusterConfiguration()
        .getConfiguration(RocksDbStorageEngineConfiguration.KEY)
        .flushDelayMillis().update(value);

stopNode(0); {code}
Revision of the cluster configuration will be changed, but events will not be generated. So nodes joining the cluster will be unable to update their version of the configuration and the recovery will not be completed. 
{code:java}
// Recovery future must be created before configuration listeners are triggered.
CompletableFuture<?> recoveryFuture = RecoveryCompletionFutureFactory.create(
        clusterCfgMgr,
        fut -> new ConfigurationCatchUpListener(cfgStorage, fut, LOG)
)  {code}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)