From 61cc932781cae3864be8f964c3893cfc3f059ff6 Mon Sep 17 00:00:00 2001 From: Teemu Ollakka Date: Mon, 15 Jul 2019 12:06:24 +0300 Subject: Wsrep crash caused by COM_CHANGE_USER, COM_RESET_CONNECTION (#1358) COM_CHANGE_USER and COM_RESET_CONNECTION commands cause THD::cleanup() to be called in the middle of command handling. This causes wsrep client_state sanity checks to fail. As a fix, temporarily close wsrep client_state before THD::change_user() is called when handling COM_CHANGE_USER and COM_RESET_CONNECTION, and restore the state after THD::change_user() returns. This commit also updates wsrep-lib to version which removes exception usage in wsrep client_state sanity checks. --- wsrep-lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wsrep-lib') diff --git a/wsrep-lib b/wsrep-lib index e9dafb73734..fd66bdef0bb 160000 --- a/wsrep-lib +++ b/wsrep-lib @@ -1 +1 @@ -Subproject commit e9dafb73734d71ab55078b34748e54f139aec827 +Subproject commit fd66bdef0bbcdeb3a5189c7f93319cb5f9d77ea7 -- cgit v1.2.1