diff options
author | Nirbhay Choubey <nirbhay@mariadb.com> | 2016-12-05 20:07:30 -0500 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2016-12-12 08:51:50 -0500 |
commit | 9c88a54c1064ebdcf461e6c524a36ce5cc9370bd (patch) | |
tree | deb00af21a2f30d78f1022455416eec8086dc74f /sql/wsrep_applier.cc | |
parent | dbb06d2eaba63df0eae921da8a971c664ca18010 (diff) | |
download | mariadb-git-9c88a54c1064ebdcf461e6c524a36ce5cc9370bd.tar.gz |
MDEV-11179: WSREP transaction excceded size limit in Galera cluster
... causes MariaDB to crash
On error, the wsrep replication buffer (binlog) is dumped to a file
to aid investigations. In order to also include the binlog header,
FDLE object is also needed. This object is only available for wsrep-
threads.
Fix: Instantiate an FDLE object for non-wsrep threads.
Diffstat (limited to 'sql/wsrep_applier.cc')
-rw-r--r-- | sql/wsrep_applier.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/wsrep_applier.cc b/sql/wsrep_applier.cc index 426789b4d38..b9c259f7b5e 100644 --- a/sql/wsrep_applier.cc +++ b/sql/wsrep_applier.cc @@ -73,6 +73,9 @@ Format_description_log_event* wsrep_get_apply_format(THD* thd) { return (Format_description_log_event*) thd->wsrep_apply_format; } + + DBUG_ASSERT(thd->wsrep_rgi); + return thd->wsrep_rgi->rli->relay_log.description_event_for_exec; } |