[ 
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-22T17:04:40,785][ERROR][sys-stripe-4-#76%cdc.CdcIgniteToIgniteReplicationTest2%][CacheVersionConflictResolverImpl]
 <active-active-cache> Conflict can't be resolved, update ignored [key=487, 
fromCluster=2, toCluster=1]
[2025-10-22T17:04:40,785][DEBUG][sys-stripe-4-#76%cdc.CdcIgniteToIgniteReplicationTest2%][CacheVersionConflictResolverImpl]
 <active-active-cache> isUseNew[start=false, oldVer=GridCacheVersion 
[topVer=372621862, order=1761141859680, nodeOrder=1, dataCenterId=1], 
newVer=GridCacheVersion [topVer=372621863, order=1761141862983, nodeOrder=2, 
dataCenterId=2], oldExpire=[0,0], newExpire=[0,0], old=null, new=988, 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-22T17:04:40,785][ERROR][sys-stripe-4-#76%cdc.CdcIgniteToIgniteReplicationTest2%][CacheVersionConflictResolverImpl]
 <active-active-cache> Conflict can't be resolved, update ignored [key=487, 
fromCluster=2, toCluster=1]
[2025-10-22T17:04:40,785]
[DEBUG][sys-stripe-4-#76%cdc.CdcIgniteToIgniteReplicationTest2%][CacheVersionConflictResolverImpl]
 <active-active-cache> isUseNew[start=false, oldVer=GridCacheVersion 
[topVer=372621862, order=1761141859680, nodeOrder=1, dataCenterId=1], 
newVer=GridCacheVersion [topVer=372621863, order=1761141862983, nodeOrder=2, 
dataCenterId=2], oldExpire=[0,0], newExpire=[0,0], old=null, new=988, 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-22T17:04:40,785][ERROR][sys-stripe-4-#76%cdc.CdcIgniteToIgniteReplicationTest2%][CacheVersionConflictResolverImpl]
>  <active-active-cache> Conflict can't be resolved, update ignored [key=487, 
> fromCluster=2, toCluster=1]
> [2025-10-22T17:04:40,785][DEBUG][sys-stripe-4-#76%cdc.CdcIgniteToIgniteReplicationTest2%][CacheVersionConflictResolverImpl]
>  <active-active-cache> isUseNew[start=false, oldVer=GridCacheVersion 
> [topVer=372621862, order=1761141859680, nodeOrder=1, dataCenterId=1], 
> newVer=GridCacheVersion [topVer=372621863, order=1761141862983, nodeOrder=2, 
> dataCenterId=2], oldExpire=[0,0], newExpire=[0,0], old=null, new=988, 
> res=false]
> {code}
> Reproducer: [^Reproducer.patch] 



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

Reply via email to