• A
    Whitelist SIGUSR1 to avoid auto-triggering errors. · 39f0a33f
    antirez 提交于
    This commit fixes issue #875 that was caused by the following events:
    
    1) There is an active child doing BGSAVE.
    2) flushall is called (or any other condition that makes Redis killing
    the saving child process).
    3) An error is sensed by Redis as the child exited with an error (killed
    by a singal), that stops accepting write commands until a BGSAVE happens
    to be executed with success.
    
    Whitelisting SIGUSR1 and making sure Redis always uses this signal in
    order to kill its own children fixes the issue.
    39f0a33f
redis.c 99.3 KB