• Binbin's avatar
    Report AOF failure status to systemd in shutdown (#12065) · 78202f84
    Binbin authored
    Since we do report the RDB error in below:
    ```
    serverLog(LL_WARNING,"Error trying to save the DB, can't exit.");
    if (server.supervised_mode == SUPERVISED_SYSTEMD)
        redisCommunicateSystemd("STATUS=Error trying to save the DB, can't exit.\n");
    goto error;
    ```
    
    This may be an overlook in #6052
    78202f84
server.c 283 KB