-
Notifications
You must be signed in to change notification settings - Fork 3.8k
fix: Use user-provided target size #46835
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
Conversation
Summary of ChangesHello @XuanYang-cn, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request refines the force merge compaction mechanism by introducing the ability to specify a target segment size and by implementing a topology-aware calculation for merged segments. The changes aim to improve compaction efficiency and resource utilization by aligning segment sizes and counts with the underlying cluster architecture, particularly considering QueryNode parallelism, replicas, and shards. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
|
[ci-v2-notice] To rerun ci-v2 checks, comment with:
If you have any questions or requests, please contact @zhikunyao. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request introduces a fix to use a user-provided target size for force merge compaction. It also adds logic to optimize the number of output segments for better loading parallelism on query nodes. The changes are well-tested. My main feedback is about the interaction between the user-provided target size and the parallelism optimization, where the latter can override the former in a way that might be surprising to the user. I've suggested a change to make this behavior more intuitive.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #46835 +/- ##
==========================================
+ Coverage 73.73% 76.31% +2.57%
==========================================
Files 1426 2004 +578
Lines 229812 320921 +91109
==========================================
+ Hits 169452 244901 +75449
- Misses 52501 68149 +15648
- Partials 7859 7871 +12
🚀 New features to boost your workflow:
|
|
@XuanYang-cn Thanks for your contribution. Please submit with DCO, see the contributing guide https://github.com/milvus-io/milvus/blob/master/CONTRIBUTING.md#developer-certificate-of-origin-dco. |
See also: milvus-io#46758 Signed-off-by: yangxuan <[email protected]>
Signed-off-by: yangxuan <[email protected]>
|
/ci-rerun-e2e-default |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tedxu, XuanYang-cn The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
See also: milvus-io#46758 pr: milvus-io#46835 --------- Signed-off-by: yangxuan <[email protected]>
See also: #46758