Skip to content

Bug fix for the MTR test galera.galera_bf_abort_lock_table (MDEV-36598). - #511

Open
plampio wants to merge 2 commits into
10.6from
10.6-mdev-36598
Open

Bug fix for the MTR test galera.galera_bf_abort_lock_table (MDEV-36598).#511
plampio wants to merge 2 commits into
10.6from
10.6-mdev-36598

Conversation

@plampio

@plampio plampio commented Jul 3, 2025

Copy link
Copy Markdown

Sometimes the MTR test galera.galera_bf_abort_lock_table failed with a timeout. The root cause for the failure was an error in the logic of the MTR test: it was possible that a table created on node 1 was not replicated to node 2 before an attempt was made to lock it on node 2. This resulted in a timeout later in the test.

Sometimes the MTR test galera.galera_bf_abort_lock_table failed with a
timeout. The root cause for the failure was an error in the logic of
the MTR test: it was possible that a table created on node 1 was not
replicated to node 2 before an attempt was made to lock it on node 2.
This resulted in a timeout later in the test.
@plampio
plampio requested review from sjaakola and temeo July 3, 2025 12:27
@plampio plampio self-assigned this Jul 3, 2025

@sjaakola sjaakola left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The test is passing in my environment, for 300 rounds. I'm confident this works now.
However, the "SHOW ALL SLAVES STATUS" is not effective for galera appliers, as they are not regular slave worker threads. Therefore it is better to remove the wait_condition_on_error_output setting, before submitting this PR

removing the error output of the wait condition for CREATE TABLE
replication.
@plampio

plampio commented Jul 4, 2025

Copy link
Copy Markdown
Author

Removed the "SHOW ALL SLAVES STATUS" error output of the wait condition for CREATE TABLE, as suggested by sjaakola.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants