[OPENDJ-5637] Replication: Changelog not in sync on RS-only when upgrading a split DS-RS topology from 2.6.4 Created: 29/Oct/18  Updated: 08/Nov/19  Resolved: 09/Nov/18

Status: Done
Project: OpenDJ
Component/s: replication, upgrade
Affects Version/s: 6.5.0
Fix Version/s: 6.5.0

Type: Bug Priority: Critical
Reporter: carole forel Assignee: Yannick Lecaillez
Resolution: Fixed Votes: 0
Labels: Verified

Issue Links:
Depends
depends on OPENDJ-5648 Change number indexing does not work ... Done
Relates
is related to OPENDJ-5678 Revisit fix for "Replication: Changel... Dev backlog
Flagged:
Impediment
Epic Link: Bugs 6.5
Story Points: 2

 Description   

Found with rev (00fd47957e5)

We have a split DS-RS topology of 2 DS - 2 RS, installed with 2.6.4 version, with data.
We check replication is working by performing some operations which populate the changelog.
We upgrade servers one by one.
Then we check the changelog and sometimes, the changelog is missing some entries and is not consistent between servers:

Expected:
========
/DJ_REPL_RS1/opendj/bin/ldapsearch -h localhost -p 1398 -D "cn=myself" -w password -b "cn=changelog" --countEntries "(objectclass=*)" 
...
# Total number of matching entries: 9

Got:
===
/DJ_REPL_RS1/opendj/bin/ldapsearch -h localhost -p 1412 -D "cn=myself" -w password -b "cn=changelog" --countEntries "(objectclass=*)" 
...
# Total number of matching entries: 5

/DJ_REPL_RS2/opendj/bin/ldapsearch -h localhost -p 1413 -D "cn=myself" -w password -b "cn=changelog" --countEntries "(objectclass=*)" 
...
# Total number of matching entries: 9

To reproduce (1 time out of 3 on my laptop...)

./run-pybot.py -n -v -s replication_group3.Upgrade -t Replication_Topology_Split_DS_RS opendj 


 Comments   
Comment by carole forel [ 15/Nov/18 ]

verified with automated tests on RC5

Generated at Tue Mar 09 10:06:03 UTC 2021 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.