THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
PlantUML |
---|
(*) --> "Init Cache" --> "Init Auto-Balancer" --> "GrabWait Auto-Balancer DLock" --> "Wait for next for next slot" as schedule -right-> "Start execution" if "DLock "is cluster off-balance" then acquired?" then -->[No] schedule else --> [Yes] if "cluster balanced?" then --> [No] schedule else --> [Yes] "Invoke Rebalance" else--> "Wait for completion" --> [No] schedule endif endif |
Testing
We will need to add auto rebalancing to some existing tests and give it a schedule that will cause it to run during the test. We will also need to write unit tests for the rebalancing triggering and scheduling logic.
...