Skip to content

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

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

Open
wants to merge 2 commits into
base: 10.6
Choose a base branch
from

Conversation

plampio
Copy link

@plampio plampio commented Jul 3, 2025

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
Copy link

@sjaakola sjaakola left a comment

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
Copy link
Author

plampio commented Jul 4, 2025

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