@Aleksey,
Before sending another query on the same connection, won't/can't you check the HAProxy status for that node (which will not be 200), so that you don't have to send it and gracefully end the connection?
@Aleksey,
Before sending another query on the same connection, won't/can't you
check the HAProxy status for that node (which will not be 200),
so that you don't have to send it and gracefully end the
connection?