• Kirill Smelkov's avatar
    wcfs: Switch filesystem to EIO mode on zwatcher failure · a36b5562
    Kirill Smelkov authored
    Currently zwatcher failure leads to wcfs starting to provide stale data
    instead of uptodate data. Fix that by detecting zwatcher failures and
    explicitly switching the filesystem to a mode where any access to
    anything returns "input/output error".
    
    Zwatcher can fail on e.g. failure to retrieve transactions from ZODB
    storage or any other failure. With this patch we make sure this does not
    go unnoticed.
    
    /reviewed-by @levin.zimmermann
    /reviewed-on !18
    a36b5562
wcfs.go 78.3 KB