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-33850 : For Galera, create sequence with low cache got signal 6 … #484

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

Conversation

janlindstrom
Copy link

…error: [ERROR] WSREP: FSM: no such a transition REPLICATING -> COMMITTED

Wsrep transaction was BF aborted but it must replay because certification succeeded. The transaction must not be written into binlog yet, it will be done during commit after the replay.

@janlindstrom janlindstrom self-assigned this Feb 6, 2025
@janlindstrom
Copy link
Author

test_pr

@janlindstrom janlindstrom force-pushed the 10.6-MDEV-33850 branch 2 times, most recently from 043f164 to 09385e9 Compare February 11, 2025 09:36
…error: [ERROR] WSREP: FSM: no such a transition REPLICATING -> COMMITTED

Problem was that transacton was BF-aborted after certification
succeeded and transaction tried to rollback and during
rollback binlog stmt cache containing sequence value reservations
was written into binlog.

Transaction must replay because certification succeeded but
transaction must not be written into binlog yet, it will
be done during commit after the replay.

Fix is to skip binlog write if transaction must replay and
in replay we need to reset binlog stmt cache.
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.

1 participant