Ilya Shishkov created IGNITE-25614:
--------------------------------------
Summary: Exception CacheStoreListener#onSessionEnd can cause
inconsistency
Key: IGNITE-25614
URL: https://issues.apache.org/jira/browse/IGNITE-25614
Project: Ignite
Issue Type: Bug
Reporter: Ilya Shishkov
Attachments: CacheStoreFailureInSessionListenerTest.patch
{{CacheStoreListener#onSessionEnd}} is invoked during transaction commit.
In case if we commit state to external database and then some extension occur
in {{#onSessionEnd}}, then transaction will be rolled back in Ignite, but not
in external database.
As you can see in attached reproducer, it does not matter, if put is failed on
primary or backup node.
Also, {{#onSessionEnd}} is invoked once on initiating node.
*Reproducer:* [^CacheStoreFailureInSessionListenerTest.patch]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)