[
https://issues.apache.org/jira/browse/IGNITE-16551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladislav Pyatkov updated IGNITE-16551:
---------------------------------------
Epic Link: IGNITE-16362
> 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
> Priority: Major
> Labels: ignite-3
>
> 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)