Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.5, 10.6
Description
Platform: FreeBSD
With regex in wsrep_sst_rsync script function check_pid_and_port :
|
if [ $lsof_available -ne 0 ]; then
|
port_info=$(lsof -Pnl -i ":$port" 2>/dev/null | \
|
grep -F '(LISTEN)')
|
echo "$port_info" | \
|
grep -q -E "[[:space:]](\\*|\\[?::\\]?):$port[[:space:]]" && busy=1
|
|
If the database is bind on specific IP address, not * the IST will never happen and Joiner node will loop forever and wait "rsync" to start listen on * .
When we remove lsof package, the * wsrep_sst_rsync* script fallback to sockstat and its working fine.
Fixed, https://github.com/MariaDB/server/commit/2c5d8376cdfd25d7510c85b3896b506715f96590