cgrzemba / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

ad8ba51 Ticket 47538 - Fix repl-monitor color and lag times

Authored and Committed by mreynolds 7 years ago
    Ticket 47538 - Fix repl-monitor color and lag times
    
    Bug Description:  Colors do not match the legend, and when the supplier or
                      consumer max csns are not available, the lag time is displayed
                      incorrectly.
    
    Fix Description:  The color hash table needed to be sorted before processing,
                      and we were not properly detecting the "Unavailable" state of
                      a replica which lead to the odd lag times.  Also added the
                      string "Unavailable" for uninitialized values which allowed
                      for a cleaner report when replicas are offline.
    
                      Updated the man page as well.
    
    https://fedorahosted.org/389/ticket/47538
    
    Reviewed by: nhosoi(Thanks!)
    
    (cherry picked from commit 34c929353280b93eebe214f1c21f5b788aff1c39)
    
        
file modified
+54 -4