1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-03 05:41:09 +03:00
Files
mariadb/scripts
Daniel Black 4e6dab94d0 MDEV-10.1.31 does not join an existing cluster with SST xtrabackup-v2
Analysis:- The problem  is the change in the implementation of wait_for_listen
in wsrep_sst_xtrabackup-v2.sh. The new script uses lsof which will always
exit with an error code if it can't find all the items, and because the
script has the -e option set in the hashbang line (#!/bin/bash -ue), the
script will abort right after running lsof if lsof can't find even a single
item among all the items listed in its arguments. This will happen even if
socat is running and listening, because it can't find nc. The loop in
wait_for_listen will therefore always quit after one iteration without
writing the "ready" line to signal the parent.

Solution:- We will or the lsof with true.

Patch Credit :Daniel Black and David Wang
2018-02-21 19:48:18 +05:30
..
2014-10-09 10:30:11 +02:00
2013-08-30 11:25:49 +02:00
2017-01-26 13:51:03 +02:00
2014-11-19 17:23:39 +01:00
2017-08-08 10:18:43 +02:00
2017-08-08 10:18:43 +02:00
2014-03-27 22:26:58 +01:00
2017-08-08 10:18:43 +02:00
2014-10-15 12:59:13 +02:00