-
Committer:
knielsen at knielsen-hq
-
Date:
2014-03-20 14:36:45 UTC
-
Revision ID:
knielsen@knielsen-hq.org-20140320143645-3xdox8726y5zyv9p
MDEV-5914: Parallel replication deadlock due to InnoDB lock conflicts
Preparation patch for investigating a possible solution.
Add THD::rpl_group_commit_id. This will be zero except when running
multiple transactions in parallel in parallel replication. Then it
can be compared between two THDs to check if these are two
transactions that were group-committed together on the master and
thus are known not to conflict.