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.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
Platform: FreeBSD
With regex in *wsrep_sst_rsync *script function *check_pid_and_port* : {code} 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 {code} 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. |
Platform: FreeBSD
With regex in *wsrep_sst_rsync * script function *check_pid_and_port* : {code} 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 {code} 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. |
Description |
Platform: FreeBSD
With regex in *wsrep_sst_rsync * script function *check_pid_and_port* : {code} 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 {code} 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. |
Platform: FreeBSD
With regex in wsrep_sst_rsync script function check_pid_and_port : {code} 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 {code} 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. |
Assignee | Julius Goryavsky [ sysprg ] | |
Labels | FreeBSD |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Needs Feedback [ 10501 ] |
Status | Needs Feedback [ 10501 ] | Open [ 1 ] |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Status | Confirmed [ 10101 ] | In Progress [ 3 ] |
Priority | Critical [ 2 ] | Major [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Zendesk Related Tickets | 143823 |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Fix Version/s | 10.5.27 [ 29902 ] | |
Fix Version/s | 10.4 [ 22408 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Fix Version/s | 10.6.20 [ 29903 ] | |
Fix Version/s | 10.11.10 [ 29904 ] | |
Fix Version/s | 11.2.6 [ 29906 ] | |
Fix Version/s | 11.4.4 [ 29907 ] |
Labels | FreeBSD | FreeBSD linux |
Fixed, https://github.com/MariaDB/server/commit/2c5d8376cdfd25d7510c85b3896b506715f96590