Commit 03f3ba2d authored by mkaruza's avatar mkaruza Committed by Jan Lindström

MDEV-18940 Galera: Rolling upgrade: all nodes except upgraded node5 failed...

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.
parent 5352e968
...@@ -360,7 +360,7 @@ wsrep_cb_status_t wsrep_commit_cb(void* const ctx, ...@@ -360,7 +360,7 @@ wsrep_cb_status_t wsrep_commit_cb(void* const ctx,
{ {
THD* const thd((THD*)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; wsrep_cb_status_t rcode;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment