Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: #25
- Loading branch information