Slide 35
Slide 35 text
Backend server states
© ProxySQL 2013-2019. All rights reserved.
• OFFLINE_SOFT - when a server is put into OFFLINE_SOFT mode, new
incoming connections aren't accepted anymore, while the existing
connections are kept until they became inactive. In other words,
connections are kept in use until the current transaction is completed.
This allows to gracefully detach a backend (manually set).
• OFFLINE_HARD - when a server is put into OFFLINE_HARD mode,
the existing connections are dropped and no new incoming connections
are accepted. This is equivalent to deleting the server from a
hostgroup (indefinitely or for maintenance) and is done by ProxySQL
on failover (manually / automatically set by monitor)