Sergey Chugunov created IGNITE-25924:
----------------------------------------

             Summary: Exception in CacheInterceptor#onBeforePut leads to 
inconsistency in special case
                 Key: IGNITE-25924
                 URL: https://issues.apache.org/jira/browse/IGNITE-25924
             Project: Ignite
          Issue Type: Bug
          Components: cache
    Affects Versions: 2.17
            Reporter: Sergey Chugunov


IGNITE-25641 patch fixes inconsistency that happens when an exception is thrown 
from CacheInterceptor#onBeforePut or any system exception occures after 
successful commit to external storage.

But tests have shown that this fix is incomplete and inconsistency is still 
possible when a set of conditions is met:
* exception is thrown on a node that serves a tx coordinator role;
* that node happens to host primary partition for some keys from the 
transaction;
* NearCacheConfiguration is set up.

In that case fix implemented in patch doesn't have an effect and inconsistency 
between data in Ignite cache and external CacheStore is still possible.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to