Files
MaxScale/server/modules/routing
Markus Mäkelä 7bf5c07835 Ignore errors sent by servers in shutdown
When a server is stopping, it'll send an error to the client before
terminating the TCP connection. The code in readwritesplit would detect
this error and create a hangup event on the DCB. This would cause it to
appear as if the TCP connection was broken and the router would
immediately try to reconnect to the same server.

By ignoring the error and allowing the connection to die on its own, we
avoid immediately reconnecting and retrying any transactions on the
stopping server. This increases the chances that the monitor will see it
first and assign the server states correctly before the transaction replay
is attempted.
2018-11-26 09:42:12 +02:00
..
2018-11-09 14:22:28 +02:00
2018-10-30 14:16:33 +02:00
2018-11-12 10:13:22 +02:00
2018-11-20 10:51:49 +02:00
2018-09-28 12:18:24 +03:00