• YaacovHazan's avatar
    unregister AE_READABLE from the read pipe in backgroundSaveDoneHandlerSocket (#8991) · 5102c0da
    YaacovHazan authored
    In diskless replication, we create a read pipe for the RDB, between the child and the parent.
    When we close this pipe (fd), the read handler also needs to be removed from the event loop (if it still registered).
    Otherwise, next time we will use the same fd, the registration will be fail (panic), because
    we will use EPOLL_CTL_MOD (the fd still register in the event loop), on fd that already removed from epoll_ctl
    
    (cherry picked from commit 501d7755)
    5102c0da
rdb.c 112 KB