summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authormkaruza <mkaruza@users.noreply.github.com>2019-06-18 11:29:54 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2019-06-18 12:29:54 +0300
commit03f3ba2dcb07a672f9c1d87489b9ec88af62a96f (patch)
tree9523c48d912c8e146e3f4b218fa6023d2a8759ba /sql
parent5352e9687a86094d19aaea605970487516e99ab5 (diff)
downloadmariadb-git-03f3ba2dcb07a672f9c1d87489b9ec88af62a96f.tar.gz
MDEV-18940 Galera: Rolling upgrade: all nodes except upgraded node5 failed with Assertion `meta->gtid.seqno == wsrep_thd_trx_seqno(thd)' with SEQUENCEs (#1342)
Empty write sets will not trigger apply callback, and will not update thread wsrep_trx_meta.gtid.seqno. Because of that assert will be triggered when commit callback is called.
Diffstat (limited to 'sql')
-rw-r--r--sql/wsrep_applier.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/wsrep_applier.cc b/sql/wsrep_applier.cc
index 9d39b36793f..0322c5f6a40 100644
--- a/sql/wsrep_applier.cc
+++ b/sql/wsrep_applier.cc
@@ -360,7 +360,7 @@ wsrep_cb_status_t wsrep_commit_cb(void* const ctx,
{
THD* const thd((THD*)ctx);
- assert(meta->gtid.seqno == wsrep_thd_trx_seqno(thd));
+ assert(meta->gtid.seqno >= wsrep_thd_trx_seqno(thd));
wsrep_cb_status_t rcode;