• Joe Hu's avatar
    Fix redis_check_rdb() hang when rdb is FIFO (#12022) · d5d56d0d
    Joe Hu authored
    When loading RDB over the named piped, redis_check_rdb() is hung at fopen, because fopen blocks until another process opens the FIFO for writing. The fix is to check if RDB is FIFO. If yes, return an error.
    d5d56d0d
redis-check-rdb.c 16.5 KB