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

MDEV-33523 Spurious deadlock error when wsrep_on=OFF #414

Closed
wants to merge 1 commit into from

Conversation

sciascid
Copy link

Avoid starting transactions in wsrep-lib side when wsrep is disabled. It is unnecessary, and causes spurious deadlock errors on transaction clean up.

Avoid starting transactions in wsrep-lib side when wsrep is
disabled. It is unnecessary, and causes spurious deadlock errors on
transaction clean up.
Copy link

@janlindstrom janlindstrom left a comment

Choose a reason for hiding this comment

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

Can you extend test case for problematic case i.e. where local wsrep_on=OFF transaction is idle too long so that lock wait timeout or similar is triggered for conflicting transaction.

(1) Both local but conflicting is TOI
(2) local and applier (TOI or BF)

@sciascid
Copy link
Author

Can you extend test case for problematic case i.e. where local wsrep_on=OFF transaction is idle too long so that lock wait timeout or similar is triggered for conflicting transaction.

(1) Both local but conflicting is TOI (2) local and applier (TOI or BF)

I'm not sure I understand the request: TOI or BF transaction are not subject to lock wait timeouts. They initiate abort and wait until the victim is gone.

@sciascid
Copy link
Author

Closing and submitting upstream

@sciascid sciascid closed this May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants