forked from codership/wsrep-lib
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PXC-4228: NBO generates corrupted binlogs
https://jira.percona.com/browse/PXC-4228 Problem ------- Incorrect usage of toi_meta_ for DDLs running as NBO resulted in binlogging of the DDL with invalid XID. Solution -------- Move the initialization of toi_meta_ and nbo_meta_ to the beginning of NBO. With this, the DDLs will now use the seqno from galera to persist the XID in storage engine. Also adjusted the assert condition in wsrep::client_state::end_nbo_phase_one() to ensure that we are in NBO, not in TOI.
- Loading branch information
1 parent
7d1e051
commit 43ed98b
Showing
2 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters