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

codership/wsrep-lib#29 non-active transaction abort #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sjaakola
Copy link
Contributor

@sjaakola sjaakola commented 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

bf_abort() has been extended to abort also non active transactions
With this fix, mtr test galera.galera_concurrent_ctas is supposed to pass
WSREP_TC_LOG_DEBUG(1, "Seqno " << bf_seqno
<< " succesfully BF aborted non-active " << id_
<< " victim_seqno " << victim_seqno);
bf_abort_state_ = state();
Copy link
Contributor

Choose a reason for hiding this comment

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

This assignment will not have any effect. If there is no active transaction, the transaction state is s_executing, which is the initial value for bf_abort_state_.

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