Galera SST Broken by XtraBackup 2.4.5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
New
|
Undecided
|
Unassigned |
Bug Description
There appears to be a regression with Galera SST on MariaDB 10.1, after upgrading to Percona XtraBackup 2.4.5, at least in my setup.
On the donor:
2016-10-21 15:26:42 140224017458944 [Note] WSREP: Member 0.0 (REDACTED) requested state transfer from '*any*'. Selected 1.0 (REDACTED)(SYNCED) as donor. 2016-10-21 15:26:42 140224017458944 [Note] WSREP: Shifting SYNCED -> DONOR/DESYNCED (TO: 4995) 2016-10-21 15:26:42 140224327415552 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification. 2016-10-21 15:26:42 140223165884160 [Note] WSREP: Running: 'wsrep_
2016-10-21 15:26:42 140224327415552 [Note] WSREP: sst_donor_thread signaled with 0
WSREP_SST: [INFO] Streaming with xbstream (20161021 15:26:43.235)
WSREP_SST: [INFO] Using socat as streamer (20161021 15:26:43.237)
WSREP_SST: [INFO] Using openssl based encryption with socat: with key and crt (20161021 15:26:43.243)
WSREP_SST: [INFO] Encrypting with cert=/etc/
WSREP_SST: [INFO] Sleeping before data transfer for SST (20161021 15:26:43.366) 2016-10-21 15:26:44 140224025851648 [Note] WSREP: (5a4486be, 'ssl://
2016-10-21 15:26:53 140224017458944 [Warning] WSREP: 1.0 (REDACTED): State transfer to 0.0 (REDACTED) failed: -22 (Invalid argument)
2016-10-21 15:26:53 140224017458944 [Note] WSREP: Shifting DONOR/DESYNCED -> JOINED (TO: 4998)
2016-10-21 15:26:53 140224017458944 [Note] WSREP: Member 1.0 (REDACTED) synced with group.
2016-10-21 15:26:53 140224017458944 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 4998)
On the recipient:
2016-11-30 14:12:56 140312227866368 [Note] WSREP: Member 1.0 (REDACTED) requested state transfer from '*any*'. Selected 0.0 (REDACTED)(SYNCED) as donor.
2016-11-30 14:12:56 140312227866368 [Note] WSREP: Shifting PRIMARY -> JOINER (TO: 985581)
2016-11-30 14:12:56 140312546125568 [Note] WSREP: Requesting state transfer: success, donor: 0
WSREP_SST: [INFO] WARNING: Stale temporary SST directory: /var/lib/
WSREP_SST: [INFO] Proceeding with SST (20161130 14:12:57.166)
WSREP_SST: [INFO] Evaluating socat -u openssl-
RC=( ${PIPESTATUS[@]} ) (20161130 14:12:57.172)
WSREP_SST: [INFO] Cleaning the existing datadir and innodb-data/log directories (20161130 14:12:57.175)
[...]
WSREP_SST: [INFO] Waiting for SST streaming to complete! (20161130 14:12:57.270)
2016-11-30 14:12:58 140312236259072 [Note] WSREP: (fefd883a, 'ssl://
xb_stream_
2016-11-30 14:13:21 140312227866368 [Note] WSREP: 0.0 (REDACTED): State transfer to 1.0 (REDACTED) complete.
2016-11-30 14:13:21 140312227866368 [Note] WSREP: Member 0.0 (REDACTED) synced with group.
WSREP_SST: [ERROR] Error while getting data from donor node: exit codes: 0 1 (20161130 14:13:21.297)
WSREP_SST: [ERROR] Cleanup after exit with status:32 (20161130 14:13:21.303)
2016-11-30 14:13:21 140312219473664 [ERROR] WSREP: Process completed with error: wsrep_sst_
2016-11-30 14:13:21 140312219473664 [ERROR] WSREP: Failed to read uuid:seqno and wsrep_gtid_
2016-11-30 14:13:21 140312546400448 [ERROR] WSREP: SST failed: 32 (Broken pipe)
2016-11-30 14:13:21 140312546400448 [ERROR] Aborting
Error in my_thread_
2016-11-30 14:21:22 139868311013568 [Note] WSREP: Read nil XID from storage engines, skipping position init
2016-11-30 14:21:22 139868311013568 [Note] WSREP: wsrep_load(): loading provider library '/usr/lib64/
2016-11-30 14:21:22 139868311013568 [Note] WSREP: wsrep_load(): Galera 25.3.18(r3632) by Codership Oy <email address hidden> loaded successfully.
2016-11-30 14:21:22 139868311013568 [ERROR] WSREP: getaddrinfo() failed on '*': -2 (Name or service not known)
With the same configuration, I see no problem with SST after downgrading back to XtraBackup 2.4.4.