94377fb Ticket 48636 - Improve replication convergence

7 files Authored by mreynolds 7 years ago, Committed by nhosoi 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)
    (cherry picked from commit a085b0cd6b39fc85821777b7bcd2a8a2482a48bf)
    
        
file modified
+2 -1