Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When reboot master db node then can not join back to the old cluster #11

Open
graywen24 opened this issue Oct 16, 2019 · 1 comment
Open

Comments

@graywen24
Copy link

Hi,
I run the cluster in 3 db nodes. and initially, the replica is 1 then i scale to 3. So 3 db containers running on 3 physical nodes separately without any issue.
later I reboot docker swarm manager also the node1 master db host. then the db cluster can not join back.
Is anyone have this issue?

@graywen24
Copy link
Author

my master container MariaDB [(none)]> SHOW GLOBAL STATUS LIKE 'wsrep_cluster%';
+--------------------------+--------------------------------------+
| Variable_name | Value |
+--------------------------+--------------------------------------+
| wsrep_cluster_conf_id | 1 |
| wsrep_cluster_size | 1 |
| wsrep_cluster_state_uuid | 16cd5193-effb-11e9-863a-73c24aa8b78d |
| wsrep_cluster_status | Primary |
| wsrep_cluster_weight | 1 |
+--------------------------+--------------------------------------+
5 rows in set (0.00 sec)

while rest 2 old salves are
MariaDB [(none)]> SHOW GLOBAL STATUS LIKE 'wsrep_cluster%';
+--------------------------+--------------------------------------+
| Variable_name | Value |
+--------------------------+--------------------------------------+
| wsrep_cluster_conf_id | 33 |
| wsrep_cluster_size | 2 |
| wsrep_cluster_state_uuid | ee33b39f-efec-11e9-9238-c2601fccaa4f |
| wsrep_cluster_status | Primary |
| wsrep_cluster_weight | 2 |
+--------------------------+--------------------------------------+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant