Don't run WAL queries when not using replicas
What does this MR do and why?
This changes the load balancer to not run redundant WAL related queries when no replicas are in use. These queries are not needed as a single database is always in sync with itself. It should also ensure the new load balancer setup works on Aurora, at least for the time being.
This builds on top of !67773 (merged),
as this is easier than basing it on master
and having to then rebase/adjust said
merge request later on.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Yorick Peterse