Vladislav Pyatkov created IGNITE-16551:
------------------------------------------

             Summary: Add a storage revision to the changer future
                 Key: IGNITE-16551
                 URL: https://issues.apache.org/jira/browse/IGNITE-16551
             Project: Ignite
          Issue Type: Improvement
            Reporter: Vladislav Pyatkov


Any change of configuration executes in a specific storage revision. The 
revision available through the listener context on the appropriate property:
ConfigurationNotificationEvent#storageRevision
but the future of the change does not provide the revision (result is Void 
here).

I propose to change the result of the future (it is into ConfigurationTree):
{code}
/**
 * Changes this configuration node value.
 *
 * @param change CHANGE object.
 * @return Future that is completed when configuration change is finished 
either successfully or not. The future will contain a revision
 * that the changer has been applied.
 */
CompletableFuture<Long> change(Consumer<CHANGET> change);
{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to