• Wen Hui's avatar
    Add explicit error log message for AOF_TRUNCATED status when server load AOF file (#11484) · 6e9724cb
    Wen Hui authored
    Now, according to the comments, if the truncated file is not the last file,
    it will be considered as a fatal error.
    And the return code will updated to AOF_FAILED, then server will exit
    without any error message to the client.
    
    Similar to other error situations, this PR add an explicit error message
    for this case and make the client know clearly what happens.
    6e9724cb
aof.c 99.5 KB