diff options
author | Daniele Sciascia <daniele.sciascia@galeracluster.com> | 2020-01-14 06:33:02 +0100 |
---|---|---|
committer | Jan Lindström <jan.lindstrom@mariadb.com> | 2020-01-14 07:33:02 +0200 |
commit | 2d4b6571ecf15a4382702d26df9439bc5a1005de (patch) | |
tree | 93e9913ca4610bd7e69ca23a59e10d3339bad4cb /wsrep-lib | |
parent | 983163209d026bfd979b4298053fcbdb373efa9d (diff) | |
download | mariadb-git-2d4b6571ecf15a4382702d26df9439bc5a1005de.tar.gz |
Wsrep position not updated in InnoDB after certification failures (#1432)
A certification failure followed by a clean shutdown would cause an
inconsistency between the sequence number stored in innodb and the
sequence number stored in provider.
This happened both in the case of local certification failure, and in
the case where dummy writeset is applied.
The fix consists of:
- updating wsrep position after dummy writeset is delivered in
`Wsrep_high_priority_service::log_dummy_write_set()`
- updating wsrep position while releasing commit order in wsrep-lib
side
Added two tests which stress the situation where a server is shutdown
after a certification failure.
Diffstat (limited to 'wsrep-lib')
m--------- | wsrep-lib | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/wsrep-lib b/wsrep-lib -Subproject 76f7249b8df209a2a3cefd7d4bbf31f6c72812f +Subproject a17b65a25f5e608ffa8e6e051930bf47ed95019 |