Skip to content

Commit f5aed74

Browse files
janlindstromsysprg
authored andcommitted
MDEV-35486 : MDEV-33997 test failed
Problem was that at wsrep_to_isolation_end saved_lock_wait_timeout variable was set to thd->variables.lock_wait_timeout when RSU is used and variable value was 0 leading sporadic lock wait timeout errors. Fixed by removing incorrect variable set. Signed-off-by: Julius Goryavsky <julius.goryavsky@mariadb.com>
1 parent 9ba18d1 commit f5aed74

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sql/wsrep_mysqld.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3077,7 +3077,6 @@ void wsrep_to_isolation_end(THD *thd)
30773077
}
30783078
else if (wsrep_thd_is_in_rsu(thd))
30793079
{
3080-
thd->variables.lock_wait_timeout= thd->variables.saved_lock_wait_timeout;
30813080
DBUG_ASSERT(wsrep_OSU_method_get(thd) == WSREP_OSU_RSU);
30823081
wsrep_RSU_end(thd);
30833082
}

0 commit comments

Comments
 (0)