-
Notifications
You must be signed in to change notification settings - Fork 244
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The rebalance state metric for each resource is the way Helix provides to identify if a resource is being rebalanced normally. We identify an issue that may lead this metric to report wrong information.
In detail, even though the bestpossiblestate calculation fails, the state might remain to be NORMAL.
To Reproduce
- Use DelayedRebalance since it may not throw an exception even the rebalance is not possible.
- Try to rebalance a resource with no available instances.
- Check the ResourceMonitor attribute RebalanceState, it would be showing BEST_POSSIBLE_CAL_FAILED and then be overwritten to NORMAL by the later pipeline stage.
Expected behavior
The BEST_POSSIBLE_CAL_FAILED state should remain in the ResourceMonitor until enough instances appear and the resource is normally rebalanced.
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working