[
https://issues.apache.org/jira/browse/IGNITE-25641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18008896#comment-18008896
]
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
(15)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}Cache 4{color} [[tests
15|https://ci2.ignite.apache.org/viewLog.html?buildId=8526984]]
* {color:#013220}IgniteCacheTestSuite4:
CacheStoreWithIgniteTxFailureTest.testSystemExceptionAfterCacheStoreCommit[faultyNodeType=PRIMARY,
faultyNodeRole=REGULAR, withFaulireHandler=true,
withNearCacheConfiguration=false] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite4:
CacheStoreWithIgniteTxFailureTest.testSystemExceptionAfterCacheStoreCommit[faultyNodeType=PRIMARY,
faultyNodeRole=TX_COORDINATOR, withFaulireHandler=false,
withNearCacheConfiguration=false] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite4:
CacheStoreWithIgniteTxFailureTest.testSystemExceptionAfterCacheStoreCommit[faultyNodeType=BACKUP,
faultyNodeRole=REGULAR, withFaulireHandler=false,
withNearCacheConfiguration=false] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite4:
CacheStoreWithIgniteTxFailureTest.testSystemExceptionAfterCacheStoreCommit[faultyNodeType=BACKUP,
faultyNodeRole=REGULAR, withFaulireHandler=true,
withNearCacheConfiguration=false] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite4:
CacheStoreWithIgniteTxFailureTest.testSystemExceptionAfterCacheStoreCommit[faultyNodeType=PRIMARY,
faultyNodeRole=REGULAR, withFaulireHandler=false,
withNearCacheConfiguration=false] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite4:
CacheStoreWithIgniteTxFailureTest.testSystemExceptionAfterCacheStoreCommit[faultyNodeType=PRIMARY,
faultyNodeRole=REGULAR, withFaulireHandler=true,
withNearCacheConfiguration=true] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite4:
CacheStoreWithIgniteTxFailureTest.testSystemExceptionAfterCacheStoreCommit[faultyNodeType=BACKUP,
faultyNodeRole=TX_COORDINATOR, withFaulireHandler=true,
withNearCacheConfiguration=false] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite4:
CacheStoreWithIgniteTxFailureTest.testSystemExceptionAfterCacheStoreCommit[faultyNodeType=PRIMARY,
faultyNodeRole=TX_COORDINATOR, withFaulireHandler=true,
withNearCacheConfiguration=false] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite4:
CacheStoreWithIgniteTxFailureTest.testSystemExceptionAfterCacheStoreCommit[faultyNodeType=BACKUP,
faultyNodeRole=TX_COORDINATOR, withFaulireHandler=false,
withNearCacheConfiguration=false] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite4:
CacheStoreWithIgniteTxFailureTest.testSystemExceptionAfterCacheStoreCommit[faultyNodeType=PRIMARY,
faultyNodeRole=TX_COORDINATOR, withFaulireHandler=false,
withNearCacheConfiguration=true] - PASSED{color}
* {color:#013220}IgniteCacheTestSuite4:
CacheStoreWithIgniteTxFailureTest.testSystemExceptionAfterCacheStoreCommit[faultyNodeType=BACKUP,
faultyNodeRole=REGULAR, withFaulireHandler=false,
withNearCacheConfiguration=true] - PASSED{color}
... and 4 new tests
{panel}
[TeamCity *--> Run :: All*
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=8531108&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: 1h 20m
> 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)