mirror of
https://github.com/MariaDB/server.git
synced 2026-04-30 12:15:32 +02:00
Fix that gap locks are only skipped within one group commit.
This commit is contained in:
parent
bd4153a8c2
commit
e5149fa0d9
1 changed files with 2 additions and 0 deletions
|
|
@ -4277,6 +4277,8 @@ thd_need_ordering_with(const MYSQL_THD thd, const MYSQL_THD other_thd)
|
|||
return 1;
|
||||
if (rgi->current_gtid.domain_id != other_rgi->current_gtid.domain_id)
|
||||
return 1;
|
||||
if (rgi->commit_id != other_rgi->commit_id)
|
||||
return 1;
|
||||
/*
|
||||
These two threads are doing parallel replication within the same
|
||||
replication domain. Their commit order is already fixed, so we do not need
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue