[
https://issues.apache.org/jira/browse/IGNITE-26807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ilya Shishkov updated IGNITE-26807:
-----------------------------------
Description:
Such errors can occur, when using active-active CDC for caches with expiry
policy.
How to reproduce conflicts:
# Start active-active CDC.
# Configure conflict resolver with conflict resolvable field.
# Set expiry policy for CDC caches.
# Put entry on DC1.
# Put updated entry on DC2 at a moment when old entry in DC1 should expire.
# Replication conflict in DC1 can occur.
{code}
[2025-10-22T19:35:50,518][ERROR][sys-stripe-3-#4%cdc.CdcIgniteToIgniteReplicationTest1%][CacheVersionConflictResolverImpl]
<active-active-cache> Conflict can't be resolved, update ignored [key=470,
fromCluster=2, toCluster=1]
[2025-10-22T19:35:50,518][DEBUG][sys-stripe-3-#4%cdc.CdcIgniteToIgniteReplicationTest1%][CacheVersionConflictResolverImpl]
<active-active-cache> isUseNew[start=false, oldVer=GridCacheVersion
[topVer=372630931, order=1761150929060, nodeOrder=2, dataCenterId=1],
newVer=GridCacheVersion [topVer=372630933, order=1761150932512, nodeOrder=2,
dataCenterId=2], oldExpire=[0,0], newExpire=[0,1761150959664], old=null,
new=963, res=false]
{code}
Reproducer: [^Reproducer.patch]
was:
Such errors can occur, when using active-active CDC for caches with expiry
policy.
How to reproduce conflicts:
# Start active-active CDC.
# Configure conflict resolver with conflict resolvable field.
# Set expiry policy for CDC caches.
# Put entry on DC1.
# Put updated entry on DC2 at a moment when old entry in DC1 should expire.
# Replication conflict in DC1 can occur.
{code}
[2025-10-22T19:30:05,934][ERROR][sys-stripe-6-#78%cdc.CdcIgniteToIgniteReplicationTest2%][CacheVersionConflictResolverImpl]
<active-active-cache> Conflict can't be resolved, update ignored [key=370,
fromCluster=2, toCluster=1]
[2025-10-22T19:30:05,932][DEBUG][sys-stripe-6-#78%cdc.CdcIgniteToIgniteReplicationTest2%][CacheVersionConflictResolverImpl]
<active-active-cache> isUseNew[start=false, oldVer=GridCacheVersion
[topVer=372630587, order=1761150584311, nodeOrder=1, dataCenterId=1],
newVer=GridCacheVersion [topVer=372630589, order=1761150587707, nodeOrder=1,
dataCenterId=2], oldExpire=[0,0], newExpire=[0,1761150615111], oldVal=null,
oldValField=null, newVal=754, new=754, res=false]
{code}
Reproducer: [^Reproducer.patch]
> CDC: Unexpected conflicts when updating expiring entry
> ------------------------------------------------------
>
> Key: IGNITE-26807
> URL: https://issues.apache.org/jira/browse/IGNITE-26807
> Project: Ignite
> Issue Type: Task
> Components: extensions
> Reporter: Ilya Shishkov
> Priority: Major
> Labels: ise
> Attachments: Reproducer.patch
>
>
> Such errors can occur, when using active-active CDC for caches with expiry
> policy.
> How to reproduce conflicts:
> # Start active-active CDC.
> # Configure conflict resolver with conflict resolvable field.
> # Set expiry policy for CDC caches.
> # Put entry on DC1.
> # Put updated entry on DC2 at a moment when old entry in DC1 should expire.
> # Replication conflict in DC1 can occur.
> {code}
> [2025-10-22T19:35:50,518][ERROR][sys-stripe-3-#4%cdc.CdcIgniteToIgniteReplicationTest1%][CacheVersionConflictResolverImpl]
> <active-active-cache> Conflict can't be resolved, update ignored [key=470,
> fromCluster=2, toCluster=1]
> [2025-10-22T19:35:50,518][DEBUG][sys-stripe-3-#4%cdc.CdcIgniteToIgniteReplicationTest1%][CacheVersionConflictResolverImpl]
> <active-active-cache> isUseNew[start=false, oldVer=GridCacheVersion
> [topVer=372630931, order=1761150929060, nodeOrder=2, dataCenterId=1],
> newVer=GridCacheVersion [topVer=372630933, order=1761150932512, nodeOrder=2,
> dataCenterId=2], oldExpire=[0,0], newExpire=[0,1761150959664], old=null,
> new=963, res=false]
> {code}
> Reproducer: [^Reproducer.patch]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)