[ 
https://issues.apache.org/jira/browse/IGNITE-25641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18005099#comment-18005099
 ] 

Ignite TC Bot commented on IGNITE-25641:
----------------------------------------

{panel:title=Branch: [pull/12178/head] Base: [master] : No blockers 
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/12178/head] Base: [master] : New Tests 
(9)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Cache 4{color} [[tests 
9|https://ci2.ignite.apache.org/viewLog.html?buildId=8516573]]
* {color:#013220}IgniteCacheTestSuite4: 
CacheStoreWithIgniteTxFailureTest.testExceptionOnPrimaryTxCoordinatorAfterCommitToStore
 - PASSED{color}
* {color:#013220}IgniteCacheTestSuite4: 
CacheStoreWithIgniteTxFailureTest.testExceptionOnBackupAfterCommitToStoreWithFailureHandler
 - PASSED{color}
* {color:#013220}IgniteCacheTestSuite4: 
CacheStoreWithIgniteTxFailureTest.testExceptionOnPrimaryTxCoordinatorAfterCommitToStoreWithFailureHandler
 - PASSED{color}
* {color:#013220}IgniteCacheTestSuite4: 
CacheStoreWithIgniteTxFailureTest.testExceptionOnBackupTxCoordinatorAfterCommitToStoreWithFailureHandler
 - PASSED{color}
* {color:#013220}IgniteCacheTestSuite4: 
CacheStoreWithIgniteTxFailureTest.testExceptionOnBackupAfterCommitToStoreOnReplicatedCache
 - PASSED{color}
* {color:#013220}IgniteCacheTestSuite4: 
CacheStoreWithIgniteTxFailureTest.testExceptionOnPrimaryAfterCommitToStore - 
PASSED{color}
* {color:#013220}IgniteCacheTestSuite4: 
CacheStoreWithIgniteTxFailureTest.testExceptionOnBackupAfterCommitToStore - 
PASSED{color}
* {color:#013220}IgniteCacheTestSuite4: 
CacheStoreWithIgniteTxFailureTest.testExceptionOnBackupAfterCommitToStoreOnReplicatedCacheWithFailureHandler
 - PASSED{color}
* {color:#013220}IgniteCacheTestSuite4: 
CacheStoreWithIgniteTxFailureTest.testExceptionOnPrimaryAfterCommitToStoreWithFailureHandler
 - PASSED{color}

{panel}
[TeamCity *--> Run :: All* 
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=8518629&buildTypeId=IgniteTests24Java8_RunAll]

> Failure in CacheInterceptor#onBeforePut can lead to CacheStore inconsitency
> ---------------------------------------------------------------------------
>
>                 Key: IGNITE-25641
>                 URL: https://issues.apache.org/jira/browse/IGNITE-25641
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Ilya Shishkov
>            Assignee: Sergey Chugunov
>            Priority: Major
>              Labels: ise
>         Attachments: CacheStoreWithInterceptorFailureTest.patch
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> {{CacheInterceptor#onBeforePut}} can be invoked twice, and second call occurs 
> after committing to external database (i.e. after 
> {{CacheStoreSession#onSessionEnd}}). In case of failure in interceptor during 
> second invocation we will get inconsistency between external database and 
> Ignite cache.
> As you can see in attached reproducer 
> ([^CacheStoreWithInterceptorFailureTest.patch]), second invocation happens on 
> origination node, i.e. on transaction coordinator. 
> If transaction coordinator is primary, then fail in second invocation on 
> primary leads to inconsistency between cache and external storage.



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

Reply via email to