cgrzemba / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

f223b50 Ticket 48636 - Improve replication convergence

Authored and Committed by mreynolds 7 years ago
    Ticket 48636 - Improve replication convergence
    
    Bug Description:  In a busy MMR environment where multiple masters are being
                      updated at the same time the replica sessions stay open for
                      a very long time.  This causes other masters to wait to send
                      their updates.  This causes lop-sided convergence.  Where
                      entries added to the MMR environment, but on different masters,
                      take a very different amount of time until they are each seen
                      on all the replicas.
    
    Fix Description:  A new configuratoin setting was added (nsds5ReplicaReleaseTimeout)
                      to the replica configuration entry.  So when replica A tries
                      to acquire a replica B, replica B send a control back to the
                      master(master C) that is updating replica B to abort the session.
                      Master C will continue sending updates for the amount of time
                      specified in the the "release timeout", then it will "yield" its
                      current session so other replicas can acquire that replica.
    
    https://fedorahosted.org/389/ticket/48636
    
    Reviewed by: lkrispen & nhosoi(Thanks!!)
    
    (cherry picked from commit a1545cdae48e4b4e1fc87a168e4d8f959626f112)
    
        
file modified
+2 -1