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

Authored and Committed by mreynolds 10 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!)