# why when i restart all node ,they need to resync with primary node 1

**URL:** <https://forums.percona.com/t/why-when-i-restart-all-node-they-need-to-resync-with-primary-node-1/5813>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [August 16, 2017, 12:22am UTC](https://forums.percona.com/t/why-when-i-restart-all-node-they-need-to-resync-with-primary-node-1/5813 "2017-08-16T00:22:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dixon](https://avatars.discourse-cdn.com/v4/letter/d/c0e974/32.png) [@dixon](https://forums.percona.com/u/dixon)\
**Post date:** [August 16, 2017, 12:22am UTC](https://forums.percona.com/t/why-when-i-restart-all-node-they-need-to-resync-with-primary-node-1/5813/1 "2017-08-16T00:22:32Z")

</div>

why when i restart all node ,they need to resync with primary node 1.it will take so longtime to sync.  
removed `/data/mysql/maoye/biz_contract_leaseassociated.ibd' removed `/data/mysql/maoye/act\_ru\_job.ibd’  
removed `/data/mysql/maoye/biz_stop_contract.ibd' removed `/data/mysql/maoye/biz\_pospay\_sale\_temp.frm’  
removed `/data/mysql/maoye/ztfi_xscb_rh.frm' removed `/data/mysql/maoye/custom\_query.ibd’  
removed `/data/mysql/maoye/biz_statement_main_detail1.ibd' removed `/data/mysql/maoye/biz\_project\_ts.frm’  
removed `/data/mysql/maoye/biz_brand_synexception.ibd' removed `/data/mysql/maoye/biz\_contract\_marketassmonthguarantee.ibd’  
removed `/data/mysql/maoye/bpm_task_turnassign.frm' removed `/data/mysql/maoye/bpm\_form\_inst.frm’  
removed `/data/mysql/maoye/biz_contract_leaseasssmallproprietor.frm' removed `/data/mysql/maoye/biz\_contract\_advertassociated.frm’  
removed `/data/mysql/maoye/biz_brand_cust.ibd' removed `/data/mysql/maoye/t\_auth\_documents\_permission#P#p5.ibd’  
removed `/data/mysql/maoye/sys_base_shop_temp.ibd' removed `/data/mysql/maoye/biz\_pospay\_parm\_terminal.frm’  
removed `/data/mysql/maoye/sys_base_contractatttype.ibd' removed `/data/mysql/maoye/bpm\_pro\_status.frm’  
removed `/data/mysql/maoye/biz_intent_assbaseitems.frm' removed `/data/mysql/maoye/act\_ru\_identitylink.ibd’  
removed `/data/mysql/maoye/biz_pospay_supplier_goods.ibd' removed `/data/mysql/maoye/t\_auth\_structure.frm’  
removed `/data/mysql/maoye/biz_standard_stdsupportcondition.frm' removed `/data/mysql/maoye/t\_auth\_general\_post.frm’  
removed directory: `/data/mysql/maoye' removed `/data/mysql/masterbin-log.000001’  
dirname: extra operand `/data/mysql/masterbin-log' Try `dirname --help’ for more information.  
WSREP\_SST: [ERROR] Cleanup after exit with status:1 (20170816 12:05:09.337)  
WSREP\_SST: [INFO] Removing the sst\_in\_progress file (20170816 12:05:09.340)  
2017-08-16 12:05:09 15605 [ERROR] WSREP: Process completed with error: wsrep\_sst\_xtrabackup-v2 --role ‘joiner’ --address ‘172.29.9.42’ --auth ‘sstuser:s3cret’ --datadir ‘/data/mysql/’ --defaults-file ‘/etc/my.cnf’ --parent ‘15605’ ‘’ : 1 (Operation not permitted)  
2017-08-16 12:05:09 15605 [ERROR] WSREP: Failed to read uuid:seqno from joiner script.  
2017-08-16 12:05:09 15605 [ERROR] WSREP: SST failed: 1 (Operation not permitted)  
2017-08-16 12:05:09 15605 [ERROR] Aborting

---

<div class="post-metadata">

**Author:** ![krunalbauskar](https://avatars.discourse-cdn.com/v4/letter/k/439d5e/32.png) [@krunalbauskar](https://forums.percona.com/u/krunalbauskar)\
**Post date:** [August 22, 2017, 3:09am UTC](https://forums.percona.com/t/why-when-i-restart-all-node-they-need-to-resync-with-primary-node-1/5813/2 "2017-08-22T03:09:22Z")

</div>

There is good probability that something is going wrong on restart that is out of PXC control.

Generally on restart PXC node will initiate IST from the cluster node if IST is not possible it will turn to SST.  
There are multiple reason why IST is not possible

- Cluster has made good progress before the restarted node tried to join the cluster again.
- Shutdown was not successful and process was killed. Check what are content of grastate.dat. (It should have valid seqno and -1 if shutdown was successful).
