• Wen Hui's avatar
    Add explicit error log message for AOF_TRUNCATED status when server load AOF file (#11484) · d81c2a5f
    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.
    
    (cherry picked from commit 6e9724cb)
    d81c2a5f
aof.c 100 KB