[Maria-developers] GTIDs, events sequence and alternate futures

2013-04-30 Thread Pavel Ivanov
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 --. Is it guaranteed that sequence numbers are always increasing inside the domain

Re: [Maria-developers] GTIDs, events sequence and alternate futures

2013-05-01 Thread Kristian Nielsen
Pavel Ivanov writes: > As I understand GTID is constructed as - id>-. Is it guaranteed that sequence numbers are > always increasing inside the domain id? So The intention is that the user/DBA should configure things so that there is only ever one active master for each domain_id. If this is don

Re: [Maria-developers] GTIDs, events sequence and alternate futures

2013-05-01 Thread Pavel Ivanov
Thank you. I need this info to make sure that our tools work properly. They need to determine which slave is further in the replication stream than others (which apparently can be achieved by simple comparison of sequence number) and detect if slaves have alternate futures. The latter can happen no

Re: [Maria-developers] GTIDs, events sequence and alternate futures

2013-05-01 Thread Kristian Nielsen
Pavel Ivanov writes: > What will happen with MariaDB if sem-sync master is enabled, some > transactions is completed, but before it gets any semi-sync acks all > slaves get disconnected? Will this transaction be rolled back? Or it > will be left committed basically creating an alternate future?

Re: [Maria-developers] GTIDs, events sequence and alternate futures

2013-05-01 Thread Pavel Ivanov
Thank you Kristian. On Wed, May 1, 2013 at 8:19 AM, Kristian Nielsen wrote: > Pavel Ivanov writes: > >> What will happen with MariaDB if sem-sync master is enabled, some >> transactions is completed, but before it gets any semi-sync acks all >> slaves get disconnected? Will this transaction be r