[
https://issues.apache.org/jira/browse/IGNITE-16377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Denis Chudov updated IGNITE-16377:
----------------------------------
Description:
While handling the notifications, listeners should rely on the fact that the
components that they depend on, won’t return stale or inconsistent data. It
should be guaranteed by causality tokens mechanism.
Listeners of TableManager should rely on the causality token futures to finish
all the logic that depends on other components or other listeners. Therefore,
this logic should be implemented in thenCompose blocks of causality futures.
The listeners should be aware of the current state of the component and do
every action in order to change the current state to the state that the
component should have after applying the metastorage update.
was:While handling the notifications, listeners should rely on the fact that
the components that they depend on, won’t return stale or inconsistent data. It
should be guaranteed by causality tokens mechanism.
> Notification listeners of TableManager should rely on causality tokens when
> referring to dependee components
> ------------------------------------------------------------------------------------------------------------
>
> Key: IGNITE-16377
> URL: https://issues.apache.org/jira/browse/IGNITE-16377
> Project: Ignite
> Issue Type: Improvement
> Reporter: Denis Chudov
> Priority: Major
> Labels: ignite-3
>
> While handling the notifications, listeners should rely on the fact that the
> components that they depend on, won’t return stale or inconsistent data. It
> should be guaranteed by causality tokens mechanism.
> Listeners of TableManager should rely on the causality token futures to
> finish all the logic that depends on other components or other listeners.
> Therefore, this logic should be implemented in thenCompose blocks of
> causality futures.
> The listeners should be aware of the current state of the component and do
> every action in order to change the current state to the state that the
> component should have after applying the metastorage update.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)