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

MDEV-25611: RESET MASTER causes the server to hang #3528

Merged
merged 1 commit into from
Sep 27, 2024
Merged

Commits on Sep 27, 2024

  1. MDEV-25611: RESET MASTER causes the server to hang

    RESET MASTER waits for storage engines to reply to a binlog checkpoint
    requests. If this response is delayed for a long time for some reason, then
    RESET MASTER can hang.
    
    Fix this by forcing a log sync in all engines just before waiting for the
    checkpoint reply.
    
    (Waiting for old checkpoint responses is needed to preserve durability of
    any commits that were synced to disk in the to-be-deleted binlog but not yet
    synced in the engine.)
    
    Reviewed-by: Andrei Elkin <[email protected]>
    Signed-off-by: Kristian Nielsen <[email protected]>
    knielsen committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    311cdcc View commit details
    Browse the repository at this point in the history