[
https://issues.apache.org/jira/browse/IGNITE-16390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Denis Chudov updated IGNITE-16390:
----------------------------------
Description:
Listeners for SqlQueryProcessor should rely on causality tokens while handling
notifications.
Listeners of SqlQueryProcessor 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:Listeners for SqlQueryProcessor should rely on causality tokens while
handling notifications.
> Improvements of event listeners for SqlQueryProcessor
> -----------------------------------------------------
>
> Key: IGNITE-16390
> URL: https://issues.apache.org/jira/browse/IGNITE-16390
> Project: Ignite
> Issue Type: Improvement
> Reporter: Denis Chudov
> Priority: Major
> Labels: ignite-3
>
> Listeners for SqlQueryProcessor should rely on causality tokens while
> handling notifications.
> Listeners of SqlQueryProcessor 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)