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

PS-9244 postfix: binlog_server fails to resume copying binlog file after server restart #51

Merged

Commits on Jun 4, 2024

  1. PS-9244 postfix: binlog_server fails to resume copying binlog file af…

    …ter server restart
    
    https://perconadev.atlassian.net/browse/PS-9244
    
    Completely reworked the logic of the 'binsrv::events::reader_context' class - it is
    now implemented as a state machine expecting the following sequences of events
    within the binlogs:
    (ROTATE(artificial) FORMAT_DESCRIPTION <ANY>* (ROTATE|STOP)?)+
    
    We now properly handle the case when after improper MySQL server termination
    the last used binary log may end up not having a STOP or ROTATE event as its last
    one.
    
    'binlog_streaming.pull_mode' MTR test case now also checks for killing the server
    while Binlog Server Utility is running in the background in 'pull' mode.
    percona-ysorokin committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    d63af9c View commit details
    Browse the repository at this point in the history