Skip to content

Commit b159b66

Browse files
sjaakolaNirbhay Choubey
authored andcommitted
Refs MW-252
- Calling FTWRL two times in a row caused desync error, this is fixed by making sub-sequent FTWRL calls bail out before wsrep operations
1 parent 4290117 commit b159b66

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

sql/lock.cc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,11 +1120,7 @@ bool Global_read_lock::make_global_read_lock_block_commit(THD *thd)
11201120
{
11211121
WSREP_DEBUG("GRL was in block commit mode when entering "
11221122
"make_global_read_lock_block_commit");
1123-
thd->mdl_context.release_lock(m_mdl_blocks_commits_lock);
1124-
m_mdl_blocks_commits_lock= NULL;
1125-
wsrep_locked_seqno= WSREP_SEQNO_UNDEFINED;
1126-
wsrep->resume(wsrep);
1127-
m_state= GRL_ACQUIRED;
1123+
DBUG_RETURN(FALSE);
11281124
}
11291125
#endif /* WITH_WSREP */
11301126

0 commit comments

Comments
 (0)