summaryrefslogtreecommitdiff
path: root/src/t_string.c
diff options
context:
space:
mode:
authorYaacovHazan <31382944+YaacovHazan@users.noreply.github.com>2021-05-26 14:51:53 +0300
committerGitHub <noreply@github.com>2021-05-26 14:51:53 +0300
commit501d7755831527b4237f9ed6050ec84203934e4d (patch)
tree806ecf9f74c98b933bda8e7f6497c349dee98669 /src/t_string.c
parentbe6ce8a92a9acbecfaaa6c57a45037fc1018fefe (diff)
downloadredis-501d7755831527b4237f9ed6050ec84203934e4d.tar.gz
unregister AE_READABLE from the read pipe in backgroundSaveDoneHandlerSocket (#8991)
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
Diffstat (limited to 'src/t_string.c')
0 files changed, 0 insertions, 0 deletions