• Kirill Smelkov's avatar
    Y wcfs: Make .wcfs/zhead to be debug-only feature and move it to .wcfs/debug/zhead · ae2d0f53
    Kirill Smelkov authored
    Currently it is easy to deadlock wcfs by opening .wcfs/zhead and not
    reading from opened zhead handle due to the nature of what this zhead
    file is designed to do. For this reason we want .wcfs/zhead not to be present
    on production deployments and be available only where it is needed -
    during test runs.
    
    -> Introduce -debug flag for that to "enable debugging features" and put
       .wcfs/zhead to be that debug-only feature, and move it to be
       .wcfs/debug/zhead for clarity.
    ae2d0f53
wcfs.go 95.2 KB