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

transaction::bf_abort() does not abort non-active transaction #29

Open
sjaakola opened this issue Dec 3, 2018 · 0 comments
Open

transaction::bf_abort() does not abort non-active transaction #29

sjaakola opened this issue Dec 3, 2018 · 0 comments
Assignees

Comments

@sjaakola
Copy link
Contributor

sjaakola commented Dec 3, 2018

transaction::bf_abort() check is transaction is active, i.e. it has been started by transaction::start_transaction(), and only aborts victims with active transaction.
However, some client sessions in MySQL/MariaDB side can hold locks, and end up as brute force abort victims, even though they have not started transaction yet. One such example is Create Table As Select execution (CTAS), which causes eternal hang with galera.galera_concurrent_ctas test

@sjaakola sjaakola self-assigned this Dec 3, 2018
sjaakola added a commit that referenced this issue Dec 3, 2018
bf_abort() has been extended to abort also non active transactions
With this fix, mtr test galera.galera_concurrent_ctas is supposed to pass
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

No branches or pull requests

1 participant