• Vincent Milum Jr's avatar
    Fixes Galera on FreeBSD · 7f2fab01
    Vincent Milum Jr authored
    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.
    7f2fab01
wsrep_sst_rsync.sh 12.9 KB