Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kill diskless fork child asap when the last replica drop #1227

Open
wants to merge 1 commit into
base: unstable
Choose a base branch
from

Commits on Oct 25, 2024

  1. Kill diskless fork child asap when the last replica drop

    We originally checked the replica connection to whether to kill the
    diskless child only when rdbPipeReadHandler is triggered. Actually
    we can check it when the replica is disconnected, so that we don't
    have to wait for rdbPipeReadHandler to be triggered and can kill
    the forkless child as soon as possible.
    
    In this way, when the child or rdbPipeReadHandler is stuck for some
    reason, we can kill the child faster and release the fork resources.
    
    Signed-off-by: Binbin <[email protected]>
    enjoy-binbin committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    bd6eb2e View commit details
    Browse the repository at this point in the history