# Failed to rejoin the cluster

**URL:** <https://forums.percona.com/t/failed-to-rejoin-the-cluster/4825>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [April 6, 2016, 12:21am UTC](https://forums.percona.com/t/failed-to-rejoin-the-cluster/4825 "2016-04-06T00:21:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pavelk](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@pavelk](https://forums.percona.com/u/pavelk)\
**Post date:** [April 6, 2016, 12:21am UTC](https://forums.percona.com/t/failed-to-rejoin-the-cluster/4825/1 "2016-04-06T00:21:56Z")

</div>

Dear all,  
we have 4node Percona XtraDB Cluster v5.5.x and until yesterday all worked fine. Yesterday we had to temporarily disconnect one node due to maintenance and now we are not able to rejoin the cluster again.  
Each time we start the node it fails after SST. I tried to completely deleted all files inside the MySQL datadir but the result is the same.  
Could you please someone help?  
Thanks in advance!

---

<div class="post-metadata">

**Author:** ![pavelk](https://avatars.discourse-cdn.com/v4/letter/p/bbe5ce/32.png) [@pavelk](https://forums.percona.com/u/pavelk)\
**Post date:** [April 6, 2016, 12:22am UTC](https://forums.percona.com/t/failed-to-rejoin-the-cluster/4825/2 "2016-04-06T00:22:41Z")

</div>

# mysql\_error.log

160405 22:06:36 [Note] WSREP: Read nil XID from storage engines, skipping position init  
160405 22:06:36 [Note] WSREP: wsrep\_load(): loading provider library ‘none’  
160405 22:06:36 [Note] WSREP: Service disconnected.  
160405 22:06:37 [Note] WSREP: Some threads may fail to exit.  
Error in my\_thread\_global\_end(): 1 threads didn’t exit  
160405 22:06:42 [Note] WSREP: Read nil XID from storage engines, skipping position init  
160405 22:06:42 [Note] WSREP: wsrep\_load(): loading provider library ‘none’  
160405 22:06:43 [Note] WSREP: Service disconnected.  
160405 22:06:44 [Note] WSREP: Some threads may fail to exit.  
Error in my\_thread\_global\_end(): 1 threads didn’t exit  
160405 22:06:49 mysqld\_safe Starting mysqld daemon with databases from /galera  
160405 22:06:49 mysqld\_safe Skipping wsrep-recover for empty datadir: /galera  
160405 22:06:49 mysqld\_safe Assigning 00000000-0000-0000-0000-000000000000:-1 to wsrep\_start\_position  
160405 22:06:49 [Note] WSREP: wsrep\_start\_position var submitted: ‘00000000-0000-0000-0000-000000000000:-1’  
160405 22:06:49 [Note] WSREP: Read nil XID from storage engines, skipping position init  
160405 22:06:49 [Note] WSREP: wsrep\_load(): loading provider library ‘/usr/lib64/libgalera\_smm.so’  
160405 22:06:49 [Note] WSREP: wsrep\_load(): Galera 2.12(r318911d) by Codership Oy \<info@codership.com\> loaded successfully.  
160405 22:06:49 [Warning] WSREP: Could not open saved state file for reading: /galera//grastate.dat  
160405 22:06:49 [Note] WSREP: Found saved state: 00000000-0000-0000-0000-000000000000:-1  
160405 22:06:49 [Note] WSREP: Preallocating 5368710440/5368710440 bytes in ‘/galera//galera.cache’…  
160405 22:06:49 [Note] WSREP: Passing config to GCS: base\_host = 10.1.1.4; base\_port = 4567; cert.log\_conflicts = no; debug = no; evs.inactive\_check\_period = PT0.5S; evs.inactive\_timeout = PT15S; evs.join\_retrans\_period = PT1S; evs.max\_install\_timeouts = 3; evs.send\_window = 4; evs.stats\_report\_period = PT1M; evs.suspect\_timeout = PT5S; evs.user\_send\_window = 2; evs.view\_forget\_timeout = PT24H; gcache.dir = /galera/; gcache.keep\_pages\_size = 0; gcache.mem\_size = 0; gcache.name = /galera//galera.cache; gcache.page\_size = 128M; gcache.size = 5G; gcs.fc\_debug = 0; gcs.fc\_factor = 1.0; gcs.fc\_limit = 16; gcs.fc\_master\_slave = no; gcs.max\_packet\_size = 64500; gcs.max\_throttle = 0.25; gcs.recv\_q\_hard\_limit = 9223372036854775807; gcs.recv\_q\_soft\_limit = 0.25; gcs.sync\_donor = no; gmcast.version = 0; pc.announce\_timeout = PT3S; pc.checksum = false; pc.ignore\_quorum = false; pc.ignore\_sb = false; pc.npvo = false; pc.version = 0; pc.wait\_prim = true; pc.wait\_prim\_timeout = P30S; pc.weight = 1; protonet.backend = asio; protonet.version  
160405 22:06:50 [Note] WSREP: Assign initial position for certification: -1, protocol version: -1  
160405 22:06:50 [Note] WSREP: wsrep\_sst\_grab()  
160405 22:06:50 [Note] WSREP: Start replication  
160405 22:06:50 [Note] WSREP: Setting initial position to 00000000-0000-0000-0000-000000000000:-1  
160405 22:06:50 [Note] WSREP: protonet asio version 0  
160405 22:06:50 [Note] WSREP: backend: asio  
160405 22:06:50 [Note] WSREP: GMCast version 0  
160405 22:06:50 [Note] WSREP: (eebb1260, ‘tcp://0.0.0.0:4567’) listening at tcp://0.0.0.0:4567  
160405 22:06:50 [Note] WSREP: (eebb1260, ‘tcp://0.0.0.0:4567’) multicast: , ttl: 1  
160405 22:06:50 [Note] WSREP: EVS version 0  
160405 22:06:50 [Note] WSREP: PC version 0  
160405 22:06:50 [Note] WSREP: gcomm: connecting to group ‘My\_Galera\_Cluster’, peer ‘10.1.1.1:,10.1.1.2:,10.1.1.3:’  
160405 22:06:50 [Note] WSREP: (eebb1260, ‘tcp://0.0.0.0:4567’) turning message relay requesting on, nonlive peers:  
160405 22:06:50 [Note] WSREP: declaring 7c575c0d at tcp://10.1.1.1:4567 stable  
160405 22:06:50 [Note] WSREP: declaring eed4f866 at tcp://10.1.1.2:4567 stable  
160405 22:06:50 [Note] WSREP: declaring f203440b at tcp://10.1.1.3:4567 stable  
160405 22:06:50 [Note] WSREP: Node 7c575c0d state prim  
160405 22:06:50 [Note] WSREP: gcomm: connected  
160405 22:06:50 [Note] WSREP: Changing maximum packet size to 64500, resulting msg size: 32636  
160405 22:06:50 [Note] WSREP: Shifting CLOSED → OPEN (TO: 0)  
160405 22:06:50 [Note] WSREP: Opened channel ‘Jablotron\_Galera\_Cluster’  
160405 22:06:50 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my\_idx = 1, memb\_num = 4  
160405 22:06:50 [Note] WSREP: Waiting for SST to complete.  
160405 22:06:50 [Note] WSREP: STATE EXCHANGE: Waiting for state UUID.  
160405 22:06:50 [Note] WSREP: STATE EXCHANGE: sent state msg: eebc36bc-fb69-11e5-93d0-d34c86a21acd  
160405 22:06:50 [Note] WSREP: STATE EXCHANGE: got state msg: eebc36bc-fb69-11e5-93d0-d34c86a21acd from 0 (db3)  
160405 22:06:50 [Note] WSREP: STATE EXCHANGE: got state msg: eebc36bc-fb69-11e5-93d0-d34c86a21acd from 2 (db1)  
160405 22:06:50 [Note] WSREP: STATE EXCHANGE: got state msg: eebc36bc-fb69-11e5-93d0-d34c86a21acd from 3 (db2)  
160405 22:06:50 [Note] WSREP: STATE EXCHANGE: got state msg: eebc36bc-fb69-11e5-93d0-d34c86a21acd from 1 (db4)  
160405 22:06:50 [Note] WSREP: Quorum results:  
version = 2,  
component = PRIMARY,  
conf\_id = 178,  
members = 3/4 (joined/total),  
act\_id = 247014377,  
last\_appl. = -1,  
protocols = 0/4/3 (gcs/repl/appl),  
group UUID = 04f450ca-def9-11e5-95f1-b33677ec468f  
160405 22:06:50 [Note] WSREP: Flow-control interval: [32, 32]  
160405 22:06:50 [Note] WSREP: Shifting OPEN → PRIMARY (TO: 247014377)  
160405 22:06:50 [Note] WSREP: State transfer required:  
Group state: 04f450ca-def9-11e5-95f1-b33677ec468f:247014377  
Local state: 00000000-0000-0000-0000-000000000000:-1  
160405 22:06:50 [Note] WSREP: New cluster view: global state: 04f450ca-def9-11e5-95f1-b33677ec468f:247014377, view# 179: Primary, number of nodes: 4, my index: 1, protocol version 3  
160405 22:06:50 [Warning] WSREP: Gap in state sequence. Need state transfer.  
160405 22:06:50 [Note] WSREP: Running: ‘wsrep\_sst\_xtrabackup-v2 --role ‘joiner’ --address ‘10.1.1.4:4444’ --auth ‘xbuser:acRHRlm5aBX’ --datadir ‘/galera/’ --defaults-file ‘/etc/my.cnf’ --parent ‘21480’’  
WSREP\_SST: [INFO] Streaming with xbstream (20160405 22:06:50.622)  
WSREP\_SST: [INFO] Using socat as streamer (20160405 22:06:50.623)  
WSREP\_SST: [INFO] Evaluating timeout -k 110 100 socat -u TCP-LISTEN:4444,reuseaddr stdio | xbstream -x; RC=( ${PIPESTATUS[@]} ) (20160405 22:06:50.645)  
160405 22:06:50 [Note] WSREP: Prepared SST request: xtrabackup-v2|10.1.1.4:4444/xtrabackup\_sst  
160405 22:06:50 [Note] WSREP: wsrep\_notify\_cmd is not defined, skipping notification.  
160405 22:06:50 [Note] WSREP: Assign initial position for certification: 247014377, protocol version: 2  
160405 22:06:50 [Warning] WSREP: Failed to prepare for incremental state transfer: Local state UUID (00000000-0000-0000-0000-000000000000) does not match group state UUID (04f450ca-def9-11e5-95f1-b33677ec468f): 1 (Operation not permitted)  
at galera/src/replicator\_str.cpp:prepare\_for\_IST():447. IST will be unavailable.  
160405 22:06:50 [Note] WSREP: Node 1 (db4) requested state transfer from ‘_any_’. Selected 0 (db3)(SYNCED) as donor.  
160405 22:06:50 [Note] WSREP: Shifting PRIMARY → JOINER (TO: 247014456)  
160405 22:06:50 [Note] WSREP: Requesting state transfer: success, donor: 0  
WSREP\_SST: [INFO] Evaluating socat -u TCP-LISTEN:4444,reuseaddr stdio | xbstream -x; RC=( ${PIPESTATUS[@]} ) (20160405 22:06:51.061)  
WSREP\_SST: [INFO] Proceeding with SST (20160405 22:06:51.076)  
WSREP\_SST: [INFO] Cleaning the existing datadir and innodb-data/log directories (20160405 22:06:51.078)  
removed ‘/galera/mysql/db.frm’  
removed ‘/galera/mysql/db.MYI’  
removed ‘/galera/mysql/db.MYD’  
removed ‘/galera/mysql/host.frm’  
removed ‘/galera/mysql/host.MYI’  
removed ‘/galera/mysql/host.MYD’  
removed ‘/galera/mysql/user.frm’  
removed ‘/galera/mysql/user.MYI’  
removed ‘/galera/mysql/user.MYD’  
removed ‘/galera/mysql/func.frm’  
removed ‘/galera/mysql/func.MYI’  
removed ‘/galera/mysql/func.MYD’  
removed ‘/galera/mysql/plugin.frm’  
removed ‘/galera/mysql/plugin.MYI’  
removed ‘/galera/mysql/plugin.MYD’  
removed ‘/galera/mysql/servers.frm’  
removed ‘/galera/mysql/servers.MYI’  
removed ‘/galera/mysql/servers.MYD’  
removed ‘/galera/mysql/tables\_priv.frm’  
removed ‘/galera/mysql/tables\_priv.MYI’  
removed ‘/galera/mysql/tables\_priv.MYD’  
removed ‘/galera/mysql/columns\_priv.frm’  
removed ‘/galera/mysql/columns\_priv.MYI’  
removed ‘/galera/mysql/columns\_priv.MYD’  
etc.

WSREP\_SST: [INFO] Waiting for SST streaming to complete! (20160405 22:06:51.089)  
160405 22:06:53 [Note] WSREP: (eebb1260, ‘tcp://0.0.0.0:4567’) turning message relay requesting off  
160406 0:13:09 [Note] WSREP: 0 (db3): State transfer to 1 (db4) complete.  
WSREP\_SST: [INFO] Preparing the backup at /galera//.sst (20160406 00:13:09.207)  
WSREP\_SST: [INFO] Evaluating innobackupex --no-version-check --apply-log $rebuildcmd ${DATA} &\>${DATA}/innobackup.prepare.log (20160406 00:13:09.209)  
160406 0:13:09 [Note] WSREP: Member 0 (db3) synced with group.  
Terminated  
WSREP\_SST: [ERROR] Removing /galera//.sst/xtrabackup\_galera\_info file due to signal (20160406 00:36:32.563)  
WSREP\_SST: [ERROR] Cleanup after exit with status:143 (20160406 00:36:32.566)  
160406 0:36:32 [ERROR] WSREP: Process was aborted.  
160406 0:36:32 [ERROR] WSREP: Process completed with error: wsrep\_sst\_xtrabackup-v2 --role ‘joiner’ --address ‘10.134.203.213:4444’ --auth ‘xbuser:8JS5PiGacRHRlm5aBXOZviaU’ --datadir ‘/galera/’ --defaults-file ‘/etc/my.cnf’ --parent ‘21480’: 10 (No child processes)  
160406 0:36:32 [ERROR] WSREP: Failed to read uuid:seqno from joiner script.  
160406 0:36:32 [ERROR] WSREP: SST failed: 10 (No child processes)  
160406 0:36:32 [ERROR] Aborting

---

<div class="post-metadata">

**Author:** ![pavithra](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@pavithra](https://forums.percona.com/u/pavithra)\
**Post date:** [May 21, 2016, 9:44am UTC](https://forums.percona.com/t/failed-to-rejoin-the-cluster/4825/3 "2016-05-21T09:44:02Z")

</div>

Hi pavelk even i am facing the same issue. Could you plz let me know if u found any solution for this.thanks on advance
