• Jim Fulton's avatar
    Fixed a number of bugs in the handling of persistent ZEO caches: · bad38c48
    Jim Fulton authored
    - Cache records are written in several stems.  If a process exits
        after writing begins and before it is finishes, the cache will be
        corrupt on restart.  The way records are writted was changed to
        make cache record updates atomic.
    
    - There was no lock file to prevent opening a cache multiple times
        at once, which would lead to corruption.  Persistent caches now
        use lock files, in the same way that file storages do.
    
    - A bug in the cache-opening logic led to cache failure in the
        unlikely event that a cache has no free blocks.
    bad38c48
To find the state of this project's repository at the time of any of these versions, check out the tags.
NEWS.txt 6.29 KB