• YaacovHazan's avatar
    unregister AE_READABLE from the read pipe in backgroundSaveDoneHandlerSocket (#8991) · 501d7755
    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
    501d7755
rdb.c 112 KB