adamwill / 389-ds-base

Forked from 389-ds-base 4 years ago
Clone

e11b3a5 Ticket #369 - restore of replica ldif file on second master after deleting two records shows only 1 deletion

1 file Authored by mreynolds 11 years ago, Committed by rmeggins 11 years ago,
    Ticket #369 - restore of replica ldif file on second master after deleting two records shows only 1 deletion
    
    Bug Description:  If you take a "db2ldif -r" on a consumer and later restore it "ldif2db"
                      any changes made on that consumer after the backup(db2ldif), will not be
                      replayed back to the consumer after it has been restored(ldif2db).
    
    Fix Description:  When we check if we can skip updates from the change log, check if the
                      consumer csn is "newer" than its current max csn.  If it is, then it
                      needs to be replayed back to itself.
    
    https://fedorahosted.org/389/ticket/369
    
    Reviewed by: Nathan & Rich (Thanks!)
    (cherry picked from commit a640ac21971fef404c690594c83a7f54c334fe90)