Skip to content

Conversation

@ledjon-behluli
Copy link
Contributor

@ledjon-behluli ledjon-behluli commented Apr 28, 2025

In this PR i've introduced the rebalancer-compatible tolerance rule. But there are two problems with it:

  1. The _pairwiseImbalance is updated only upon silo status changes, and not during cluster imbalance changes. This means a cluster imbalance change would be reflected in the rule only after there was another silo status change. So it would lag-behind.
  2. Reading of the _pairwiseImbalance: While reads are naturally atomic on all platforms for uint, we can avoid stale-reads, and it is more natural to go "thread-safe" all the way.
Microsoft Reviewers: Open in CodeFlow

@ReubenBond ReubenBond merged commit c364d2c into dotnet:main Apr 29, 2025
28 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators May 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants