support pir_p_to_s_reshard and test #69265
Open
+446
−34
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR types
PR changes
Describe
本次 PR 添加了
p_to_r_unbalanced_reshard
函数,用于处理不平衡的重新分片操作。该函数旨在优化数据分布,确保在资源分配不均的情况下,能够高效地进行数据重新分片。主要改进包括:通过引入
p_to_r_unbalanced_reshard
函数,系统在面对不平衡负载时能够更灵活地进行资源调整,提升了整体性能和可靠性。