Do not trigger rebalance when we have DB timeouts
What does this MR do and why?
Statement timeouts can be transient and a rebalance is disruptive because it blocks positioning for the duration of the rebalance.
This changes the code so that we only trigger a rebalance when there is no space left.
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.
Related to #329357
Edited by Heinrich Lee Yu