Skip to content

MDEV-40903 : query 'reset master' failed: ER_BINLOG_IN_USE (4243) in … - #5651

Open
janlindstrom wants to merge 1 commit into
MariaDB:12.3from
mariadb-corporation:12.3-MDEV-40903
Open

MDEV-40903 : query 'reset master' failed: ER_BINLOG_IN_USE (4243) in …#5651
janlindstrom wants to merge 1 commit into
MariaDB:12.3from
mariadb-corporation:12.3-MDEV-40903

Conversation

@janlindstrom

Copy link
Copy Markdown
Contributor

…Galera tests

RESET MASTER fails with ER_BINLOG_IN_USE when a binlog dump thread is still lingering after a slave disconnects, causing sporadic failures.

Replace direct RESET MASTER in galera, galera_sr and galera_3nodes tests with include/reset_master.inc, which kills leftover dump threads and retries the RESET MASTER. Redundant preceding calls to include/kill_binlog_dump_threads.inc are removed, as reset_master.inc already does that itself.

Note that all of affected test cases are not vulnerable of failure, they are here modified for completeness.

…Galera tests

RESET MASTER fails with ER_BINLOG_IN_USE when a binlog dump thread is
still lingering after a slave disconnects, causing sporadic failures.

Replace direct RESET MASTER in galera, galera_sr and galera_3nodes tests
with include/reset_master.inc, which kills leftover dump threads and
retries the RESET MASTER. Redundant preceding calls to
include/kill_binlog_dump_threads.inc are removed, as reset_master.inc
already does that itself.

Note that all of affected test cases are not vulnerable of failure,
they are here modified for completeness.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants