← Back to team overview

maria-developers team mailing list archive

GTIDs, events sequence and alternate futures

 

Kristian,

I can't find the answer to my questions in the code and don't know if
there's some documentation I can use (is there such thing?), so I'm
writing my questions here.

As I understand GTID is constructed as <domain id>-<server
id>-<sequence number>. Is it guaranteed that sequence numbers are
always increasing inside the domain id? So
let's say two servers have GTID 0-1-100 and if they have alternate
futures then one server will have GTIDs 0-1-101, 0-1-102 and so on,
while second server will have 0-2-101, 0-2-102 etc. Is that correct?

BTW, where in the code is sequence number increased exactly?


Thank you,
Pavel


Follow ups