Comment 3 for bug 1438990

Revision history for this message
Seppo Jaakola (seppo-jaakola) wrote : Re: Corrupt replication events

Error logs in two nodes show some weird issues with nc command used in SST joiner role:

2015-03-20 14:52:39 38864 [Note] WSREP: Running: 'wsrep_sst_xtrabackup-v2 --role 'joiner' --address '######' --auth '####' --datadir '/bb/mysqldata1/4301/myisam/' --defaults-file '/bb/bin/mysql/environment/5.6/mysql_4301.cnf' --parent '38864' '' '
WSREP_SST: [INFO] Streaming with xbstream (20150320 14:52:40.225)
WSREP_SST: [INFO] Using netcat as streamer (20150320 14:52:40.228)
usage: nc [-46DdhklnrStUuvzC] [-i interval] [-p source_port]
   [-s source_ip_address] [-T ToS] [-w timeout] [-X proxy_version]
   [-x proxy_address[:port]] [hostname] [port[s]]
 Command Summary:
  -4 Use IPv4
  -6 Use IPv6
  -D Enable the debug socket option
  -d Detach from stdin
  -h This help text
  -i secs Delay interval for lines sent, ports scanned
  -k Keep inbound sockets open for multiple connects
  -l Listen mode, for inbound connects
  -n Suppress name/port resolutions
  -p port Specify local port for remote connects
  -r Randomize remote ports
   -S Enable the TCP MD5 signature option
  -s addr Local source address
  -T ToS Set IP Type of Service
  -C Send CRLF as line-ending
  -t Answer TELNET negotiation
  -U Use UNIX domain socket
  -u UDP mode
  -v Verbose
  -w secs Timeout for connects and final net reads
  -X proto Proxy protocol: "4", "5" (SOCKS) or "connect"
  -x addr[:port] Specify proxy address and port
  -z Zero-I/O mode [used for scanning]
 Port numbers can be individual or ranges: lo-hi [inclusive]
WSREP_SST: [INFO] Evaluating timeout -s9 100 nc -dl 4444 | xbstream -x; RC=( ${PIPESTATUS[@]} ) (20150320 14:52:40.256)
...