• A
    AOF: don't abort on write errors unless fsync is 'always'. · fadbbdd3
    antirez 提交于
    A system similar to the RDB write error handling is used, in which when
    we can't write to the AOF file, writes are no longer accepted until we
    are able to write again.
    
    For fsync == always we still abort on errors since there is currently no
    easy way to avoid replying with success to the user otherwise, and this
    would violate the contract with the user of only acknowledging data
    already secured on disk.
    fadbbdd3
aof.c 46.9 KB