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

feat(client): Introduce LOAD_BALANCE mode for partition split #2408

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

zuston
Copy link
Member

@zuston zuston commented Mar 14, 2025

What changes were proposed in this pull request?

Introduce the load_balance mode for partition split

Why are the changes needed?

Firstly, thanks the great work to @maobaolong . This work is based on the #2093, this introduces the load_balance mode for the partition split.

As we know, if the partition is big, the partition split will be activated to reassign to another server. For the default impl, the reassign logic is pipeline. it will reassign for first server -> second -> third until reaching the max reassignment server num limit.

But for the huge partition with huge write throughput at the same time, I hope this can write the multi servers for load balance to speed up writing.

Does this PR introduce any user-facing change?

Yes.

  1. rss.client.reassign.partitionSplitMode. Default value PIPELINE (that is consistent with previous codebase)
  2. rss.client.reassign.partitionSplitLoadBalanceServerNumber . Default value is 10. Only valid for load balance mode.

How was this patch tested?

  1. Internal spark jobs tests

@zuston zuston marked this pull request as draft March 14, 2025 07:46
Copy link

github-actions bot commented Mar 14, 2025

Test Results

 3 005 files   -  6   3 005 suites   - 6   6h 24m 40s ⏱️ - 15m 44s
 1 175 tests ± 0   1 172 ✅  -  1   2 💤 ±0  0 ❌ ±0  1 🔥 +1 
14 887 runs   - 12  14 856 ✅  - 13  30 💤 ±0  0 ❌ ±0  1 🔥 +1 

For more details on these errors, see this check.

Results for commit ddd1489. ± Comparison against base commit 31b443e.

♻️ This comment has been updated with latest results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant