Created
July 30, 2016 19:22
-
-
Save nirbhayc/7e241db4af11a8d68543e67b0150d3d0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sql/wsrep_hton.cc b/sql/wsrep_hton.cc | |
index 3bce8ba..ffc9601 100644 | |
--- a/sql/wsrep_hton.cc | |
+++ b/sql/wsrep_hton.cc | |
@@ -426,6 +426,9 @@ enum wsrep_trx_status | |
thd->wsrep_query_state = QUERY_COMMITTING; | |
mysql_mutex_unlock(&thd->LOCK_wsrep_thd); | |
+ DBUG_EXECUTE_IF("wsrep_sleep_on_query_committing", | |
+ my_sleep(5000000);); | |
+ | |
cache = get_trans_log(thd); | |
rcode = 0; | |
if (cache) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment