Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected Manager.balanceTablets() issues after 4709 was merged #4733

Open
wants to merge 3 commits into
base: 2.1
Choose a base branch
from

Conversation

dlmarion
Copy link
Contributor

@dlmarion dlmarion commented Jul 9, 2024

In #4709 we attempted to balance the root and metadata tables before the user tables. Upon merging this left WaitForBalanceIT, BalanceInPresenceOfOfflineTableIT, SimpleBalancerFairnessIT, and RegexGroupBalanceIT in a broken state. These tests were failing in different ways, but it all boiled down to the fact that the inputs to the balancer were not being partitioned according to the level that we are trying to balance. For example, we were passing all tserver and tablet information to the balancer when trying to balance the root table, and the balancer would return migrations for non-root tables. This commit modifies the Manager to partition the inputs to the balancer, which returns these tests to a passing state.

The changes to Manager.balanceTablets in 4709 left
4 ITs failing. These changes get the ITs working again.

Related to apache#4709
@dlmarion dlmarion self-assigned this Jul 9, 2024
@dlmarion dlmarion added this to In progress in 3.1.0 via automation Jul 9, 2024
@dlmarion dlmarion added this to In progress in 2.1.3 via automation Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
2.1.3
In progress
3.1.0
In progress
Development

Successfully merging this pull request may close these issues.

None yet

1 participant