On Thu, May 01, 2014 at 05:42:55PM -0700, yan.zhang wrote:
> Case is a little complex. if A and B were a cluster. And after network
> failure, A and B were written to different contents. Then A can not rejoin
> to B because galera can not merge data. One possible solution is you can
> wipe A's data, and joins to B, then use B's data.
Thats wrong.
There had been a nice post from Alexey I can't find anymore.
(Used to be http://codership.com/content/order-business.)
Anyway joining a cluster is not about merging data. In fact
A could join B if seqno(A) <= seqno(B).
If there is a conflict while replicating (if any) is another story.
Thank you for replies.
How r sequence nmbers calculated?
The GTID consists of:
- A state UUID, which uniquely identifies the state and the sequence of changes it undergoes
- An ordinal sequence number (seqno, a 64-bit signed integer) to denote the position of the change in the sequence
IF I HAV A connected to B , B TO C AND C to D .They are galera cluster nodes. Now if connection between B and C breaks, will A and B maintain galera cluster ?what happens to C and D which are still connected with each other.
Thanks in advance.
Thank you for your replies
| Method | Speed | Blocks the donor? | Available on live node? | Logical/Physical | Requires root access to MySQL server? |
|---|---|---|---|---|---|
| mysqldump | slow | yes | yes | logical | both donor and joiner |
| rsync | fastest | yes | no | physical | none |
| xtrabackup | fast | For a short time | no | physical | donor only |