Comment 2 for bug 404556

Revision history for this message
Seppo Jaakola (seppo-jaakola) wrote :

Plan is to fix this issue by introducing new 'wsrep_ready' status variable.
 wsrep_ready flag will tell, if node is ready to operate in the cluster.
Flag will be initially 0, and is set to 1, when node state has reached the
same level as other cluster nodes. In practice, we set the flag after snapshot
state transfer is complete (or we know that SST is not needed).

When wsrep_ready is 0, the session processing will allow only non-cluster connections
to process (wsrep_on==0). Also SET commands are allowed to make it possible to
declare a connection as non-cluster connection. This SET loophole is needed to let
mysqldump to be loaded from the donor node.