Commit a80e710
committed
Filter out hosts that are OFFLINE_SOFT or OFFLINE_HARD
If a user wants to gracefully remove a host from proxysql, it will
change the status to OFFLINE_SOFT, wait it to complete all the current
ongoing connections and then change it to OFFLINE_HARD.
The scheduler should not consider those hosts as available to be used
and filter them out.
Fixes: #251 parent b1c14a8 commit a80e710
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments