-
Notifications
You must be signed in to change notification settings - Fork 3k
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
enhance: Reduce mutex contention in datacoord meta #38219
enhance: Reduce mutex contention in datacoord meta #38219
Conversation
@bigsheeper go-sdk check failed, comment |
@bigsheeper E2e jenkins job failed, comment |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #38219 +/- ##
===========================================
+ Coverage 69.71% 81.13% +11.41%
===========================================
Files 299 1404 +1105
Lines 26768 197748 +170980
===========================================
+ Hits 18661 160436 +141775
- Misses 8107 31676 +23569
- Partials 0 5636 +5636
|
Signed-off-by: bigsheeper <[email protected]>
43ec0aa
to
bae195c
Compare
1. Using secondary index to avoid retrieving all segments at GetSegmentsChanPart. 2. Perform batch SetAllocations to reduce the number of times the meta lock is acquired. issue: #37630 pr: #38219 --------- Signed-off-by: bigsheeper <[email protected]>
@bigsheeper go-sdk check failed, comment |
@bigsheeper E2e jenkins job failed, comment |
…2-opt-meta-mutex
Signed-off-by: bigsheeper <[email protected]>
@bigsheeper go-sdk check failed, comment |
…2-opt-meta-mutex
@bigsheeper go-sdk check failed, comment |
rerun go-sdk |
@bigsheeper go-sdk check failed, comment |
rerun go-sdk |
@bigsheeper go-sdk check failed, comment |
rerun go-sdk |
…2-opt-meta-mutex
…2-opt-meta-mutex
Signed-off-by: bigsheeper <[email protected]>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bigsheeper, xiaofan-luan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
1. Using secondary index to avoid retrieving all segments at GetSegmentsChanPart. 2. Perform batch SetAllocations to reduce the number of times the meta lock is acquired. issue: #37630 pr: #38219 --------- Signed-off-by: bigsheeper <[email protected]>
1. Using secondary index to avoid retrieving all segments at `GetSegmentsChanPart`. 2. Perform batch SetAllocations to reduce the number of times the meta lock is acquired. issue: milvus-io#37630 --------- Signed-off-by: bigsheeper <[email protected]>
GetSegmentsChanPart
.issue: #37630