Closed stevenwilliamson closed 9 years ago
MySQL exepects a "ready" statement form the SST script, however the pfiles statement outputs to stdout, MySQL then stops looking for "ready" and never triggers SST on the donor node.
Example of the output seen from pfiles is replicated below.
[root@galera2-1-dev /opt/local/bin]# pfiles $(pgrep 'ssh|nc') 2>/dev/null || true | grep "AF_INET.* 22$" >/dev/null 2>&1 42849: /usr/lib/ssh/sshd Current rlimit: 65536 file descriptors 0: S_IFCHR mode:0666 dev:545,14 ino:1523138913 uid:0 gid:3 rdev:38,2 O_RDWR /dev/null offset:0 1: S_IFCHR mode:0666 dev:545,14 ino:1523138913 uid:0 gid:3 rdev:38,2 O_RDWR /dev/null offset:0 2: S_IFCHR mode:0666 dev:545,14 ino:1523138913 uid:0 gid:3 rdev:38,2 O_RDWR /dev/null offset:0 3: S_IFSOCK mode:0666 dev:553,0 ino:9900 uid:0 gid:0 rdev:0,0 O_RDWR|O_NONBLOCK SOCK_STREAM SO_REUSEADDR,SO_SNDBUF(128000),SO_RCVBUF(1048576) sockname: AF_INET6 :: port: 22
This branch fixes it so pfiles output does not make it to stdout.
Merged, thanks!
MySQL exepects a "ready" statement form the SST script, however the pfiles statement outputs to stdout, MySQL then stops looking for "ready" and never triggers SST on the donor node.
Example of the output seen from pfiles is replicated below.
[root@galera2-1-dev /opt/local/bin]# pfiles $(pgrep 'ssh|nc') 2>/dev/null || true | grep "AF_INET.* 22$" >/dev/null 2>&1 42849: /usr/lib/ssh/sshd Current rlimit: 65536 file descriptors 0: S_IFCHR mode:0666 dev:545,14 ino:1523138913 uid:0 gid:3 rdev:38,2 O_RDWR /dev/null offset:0 1: S_IFCHR mode:0666 dev:545,14 ino:1523138913 uid:0 gid:3 rdev:38,2 O_RDWR /dev/null offset:0 2: S_IFCHR mode:0666 dev:545,14 ino:1523138913 uid:0 gid:3 rdev:38,2 O_RDWR /dev/null offset:0 3: S_IFSOCK mode:0666 dev:553,0 ino:9900 uid:0 gid:0 rdev:0,0 O_RDWR|O_NONBLOCK SOCK_STREAM SO_REUSEADDR,SO_SNDBUF(128000),SO_RCVBUF(1048576) sockname: AF_INET6 :: port: 22
This branch fixes it so pfiles output does not make it to stdout.