• Kirill Smelkov's avatar
    wcfs: Switch filesystem to EIO mode on zwatcher failure · ebfe164e
    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.
    ebfe164e
wcfs_test.py 70.6 KB