Fixes Galera on FreeBSD
Corrects the following error with rsync sst on FreeBSD: WSREP_SST: [ERROR] rsync daemon port '4444' has been taken The FreeBSD version of grep doesn't play nicely with the -w parameter mixed with [[:space:]] and ends up matching nothing. This causes the script to loop and attempt to spawn more than one instance of rsync, which fails with the initial instance already having the port open. Because of this, the entire script fails and no sst occurs resulting in the error message listed above appearing in the log file.
Showing
Please register or sign in to comment