adamwill / 389-ds-base

Forked from 389-ds-base 4 years ago
Clone

2b79957 Ticket 49298 - force sync() on shutdown

2 files Authored by William Brown 6 years ago, Committed by mreynolds 6 years ago,
    Ticket 49298 - force sync() on shutdown
    
    Bug Description:  During shutdown on xfs we would occasionally
    see a broke dse.ldif (specifically, empty). This happens due to
    a bug in xfs where the directory isn't synced on rename().
    
    Fix Description:  As we shutdown call sync() to force all our
    writes to disk - dse.ldif, logs, db, all of it.
    
    https://pagure.io/389-ds-base/issue/49298
    
    Author: wibrown
    
    Review by: mreynolds (Thanks!)
    
    (cherry picked from commit 7efc2d20f2ff6bc8f035d6e009bdd128073d5f46)
    
        
file modified
+35 -22
file modified
+5 -0