Percona Xtradbcluster: error while receiving data from donor node

I have a problem connecting a new node to percona xtradbcluster.

here is my magazine:

I tested test_sstuser working on honor without any problems.

but in the new nodes I get the following errors:

2014-05-31 04:01:40 2391 [Warning] WSREP: Failed to prepare for incremental state transfer: Local state UUID (00000000-0000-0000-0000-000000000000) does not match group state UUID (02dc9b38-e825-11e3-a67b-4bfddfde0c98): 1 (Operation not permitted)
 at galera/src/replicator_str.cpp:prepare_for_IST():447. IST will be unavailable.
WSREP_SST: [ERROR] Error while getting data from donor node:  exit codes: 1 0 (20140531 04:01:40.934)
WSREP_SST: [ERROR] Cleanup after exit with status:32 (20140531 04:01:40.936)
2014-05-31 04:01:40 2391 [ERROR] WSREP: Process completed with error: wsrep_sst_xtrabackup-v2 --role 'joiner' --address '192.168.0.2' --auth 'test_sstuser:123456' --datadir '/var/lib/mysql/' --defaults-file '/etc/mysql/my.cnf' --parent '2391'  '' : 32 (Broken pipe)
2014-05-31 04:01:40 2391 [ERROR] WSREP: Failed to read uuid:seqno from joiner script.
2014-05-31 04:01:40 2391 [ERROR] WSREP: SST failed: 32 (Broken pipe)
2014-05-31 04:01:40 2391 [ERROR] Aborting
2014-05-31 04:01:41 2391 [Warning] WSREP: 1.0 (test.host.com): State transfer to 0.0 (master-2.test.net) failed: -32 (Broken pipe)
2014-05-31 04:01:41 2391 [ERROR] WSREP: gcs/src/gcs_group.c:gcs_group_handle_join_msg():723: Will never receive state. Need to abort.

How can I solve this problem?

Regards

Ali

+4
source share
3 answers

I had the same problem. The fix is โ€‹โ€‹simple, just add the following to my.cnf in the [mysqld] innodb_log_file_size = 48M section

(Use whatever size log file you need, 48M is fine for small Dbs)

mysql . ( READ the Manual!) mysql ib_logfile * /var/lib/mysql restart mysql

, innodb ( !)

+1

, :

WSREP_SST: [ERROR] xtrabackup process ended without creating '/path/to/mysql/xtrabackup_galera_info' (20150108 13:09:23.012)

, xtrabackup, xtrabackup-v2 /etc/mysql/my.cnf:

wsrep_sst_method                        = xtrabackup

:

wsrep_sst_method                        = xtrabackup-v2

โ€‹โ€‹.

.

+3

1 node 3 node. rsyncing /var/lib/mysql node ( , node rsync, ), node , , .

0

Source: https://habr.com/ru/post/1542740/


All Articles