Skip to content
/ server Public

MDEV-38825 Slave delays when there is "nothing" to replicate#4704

Open
ParadoxV5 wants to merge 1 commit into10.11from
MDEV-38825
Open

MDEV-38825 Slave delays when there is "nothing" to replicate#4704
ParadoxV5 wants to merge 1 commit into10.11from
MDEV-38825

Conversation

@ParadoxV5
Copy link
Contributor

@ParadoxV5 ParadoxV5 commented Feb 27, 2026

Delayed Replication does not delay on certain metadata events, but not every type of “non-user” event.
GTID List and Binlog Checkpoint are two of them, and because the primary sends them after a replica connects, this replica delays upon START SLAVE even when it’s already up-to-date.

This commit fixes this oddity by changing this condition set to check the entire non-group event category.

Delayed Replication does not delay on certain metadata events,
but not every type of “non-user” events.
GTID List and Binlog Checkpoint are two of them,
and because the primary sends them after a replica connects,
this replica delays upon START SLAVE even when it’s already up-to-date.

This commit fixes this oddity by changes this condition
set to check the entire non-group event category.
@ParadoxV5 ParadoxV5 requested a review from andrelkin February 27, 2026 04:42
@ParadoxV5 ParadoxV5 added MariaDB Corporation Replication Patches involved in replication labels Feb 27, 2026
@ParadoxV5 ParadoxV5 marked this pull request as ready for review February 27, 2026 05:31
Copy link
Contributor

@andrelkin andrelkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

MariaDB Corporation Replication Patches involved in replication

Development

Successfully merging this pull request may close these issues.

2 participants