You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am testing pgpool 4.0.2 at the moment, and note that verify_backend_node_status returns incorrect results, and decides that the replica servers are not connected:
verify_backend_node_status: primary 1 does not connect to standby 0
However, the servers are.
I have inspected the code, and I see that get_info_from_conninfo skips over "port=" but does not skip over "host=", so, the value of host is "host=", while port is simply the string of the port number.
When the comparison between the configured backend_host and host happens, this does not match - of course.
I note that get_info_from_conninfo is not used anywhere else, so I will submit at PR to resolve this by skipping over "host=".
The text was updated successfully, but these errors were encountered:
Hi,
I am testing pgpool 4.0.2 at the moment, and note that verify_backend_node_status returns incorrect results, and decides that the replica servers are not connected:
verify_backend_node_status: primary 1 does not connect to standby 0
However, the servers are.
I have inspected the code, and I see that get_info_from_conninfo skips over "port=" but does not skip over "host=", so, the value of host is "host=", while port is simply the string of the port number.
When the comparison between the configured backend_host and host happens, this does not match - of course.
I note that get_info_from_conninfo is not used anywhere else, so I will submit at PR to resolve this by skipping over "host=".
The text was updated successfully, but these errors were encountered: