maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #07990
Re: More suggestions for changing option names for optimistic parallel replication
Jonas Oreland <jonaso@xxxxxxxxxx> writes:
> A slightly off topic question that struck me last night: won't all parallel
> transactions conflict when updating the slave_gtid_pos table ?
They would, if the GTID was not carefully designed in anticipation of this
issue.
So the GTID position is updated in slave_gtid_pos with an INSERT, not an
UPDATE. This way, multiple updates can be done concurrently. Each row in the
gtid_slave_pos table contains an incrementing counter, and the highest value
of the counter denotes the "current" row at any one time.
I wrote a more detailed explanation of this here:
http://kristiannielsen.livejournal.com/17008.html
- Kristian.
Follow ups
References
-
Syntax for parallel replication
From: Kristian Nielsen, 2014-10-06
-
Re: Syntax for parallel replication
From: Sergei Golubchik, 2014-10-13
-
Re: Syntax for parallel replication
From: Kristian Nielsen, 2014-10-16
-
Re: Syntax for parallel replication
From: Sergei Golubchik, 2014-10-28
-
Re: Syntax for parallel replication
From: Kristian Nielsen, 2014-11-13
-
Re: Syntax for parallel replication
From: Pavel Ivanov, 2014-11-13
-
Re: Syntax for parallel replication
From: Kristian Nielsen, 2014-11-14
-
Re: Syntax for parallel replication
From: Jonas Oreland, 2014-11-14
-
Re: Syntax for parallel replication
From: Pavel Ivanov, 2014-11-14
-
More suggestions for changing option names for optimistic parallel replication
From: Kristian Nielsen, 2014-12-04
-
Re: More suggestions for changing option names for optimistic parallel replication
From: Jonas Oreland, 2014-12-05