Bug 1118079

Summary: Multi master replication initialization incomplete after restore of one master
Product: Red Hat Enterprise Linux 7 Reporter: Noriko Hosoi <nhosoi>
Component: 389-ds-baseAssignee: Noriko Hosoi <nhosoi>
Status: CLOSED ERRATA QA Contact: Viktor Ashirov <vashirov>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.0CC: nkinder, rmeggins
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.3.1-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 09:36:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Noriko Hosoi 2014-07-10 00:30:45 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/47655

Initial configuration:
======================
2 directories DS1 and DS2 with multimaster replication properly configured and working.
Around 3 millions of entries in these directories.


Steps to follow to reproduce :
================================
1. Backup DS2 with db2bak.pl script 
See log "1.Backup_DS2.log"
[30/Dec/2013:11:12:06 +0100] - Beginning backup of 'ldbm database'

2. Restore this previous backup with bak2db command on DS2
See log "1.Restore_DS2.log"
[30/Dec/2013:13:03:51 +0100] - slapd shutting down - signaling operation threads

3. Initialize DS1 with DS2 data restored => initialization ends properly but only 400 000 entries are present in DS1
See logs "3.Init replication_DS*_KO.log"
[30/Dec/2013:13:18:38 +0100] NSMMReplicationPlugin - conn=11 op=3 repl="o=iah_extranet_msa": Begin total protocol

4. Wait for approximately 24 hours 
This log appears in DS2 error log : 
[31/Dec/2013:13:24:04 +0100] - Trimmed 1 changes from the changelog

Initialize consumer DS1 again with DS2 data => initialization ends properly and all the entries are present in DS1
See logs "4.Init replication_DS*_KO.log"

Comment 2 Sankar Ramalingam 2015-01-13 18:24:42 UTC
No issues reported from reliab15 executed for 389-ds-base-1.3.3.1-11 builds. Hence, marking the bug as Verified.

Comment 4 errata-xmlrpc 2015-03-05 09:36:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-0416.html