-
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
[Bug]: Insert is slow #37633
Labels
kind/bug
Issues or changes related a bug
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
stale
indicates no udpates for 30 days
Comments
bigsheeper
added
kind/bug
Issues or changes related a bug
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
labels
Nov 13, 2024
related to: #37630 |
We should reduce the lock granularity in |
This was referenced Nov 20, 2024
czs007
pushed a commit
that referenced
this issue
Nov 21, 2024
1. Use vchannel and partition indices for segments. 2. Replace coarse-grained mutex with concurrent map. issue: #37633, #37630 pr: #37836 Signed-off-by: bigsheeper <[email protected]>
czs007
pushed a commit
that referenced
this issue
Dec 3, 2024
Use a channel level key lock for segments in segmentManager. issue: #37633, #37630 pr: #37836 --------- Signed-off-by: bigsheeper <[email protected]>
sre-ci-robot
pushed a commit
that referenced
this issue
Dec 6, 2024
Use a channel level key lock for segments in segmentManager. issue: #37633, #37630 pr: #37836 --------- Signed-off-by: bigsheeper <[email protected]>
sre-ci-robot
pushed a commit
that referenced
this issue
Dec 17, 2024
Use a channel level key lock for segments in segmentManager. issue: #37633, #37630 --------- Signed-off-by: bigsheeper <[email protected]>
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/bug
Issues or changes related a bug
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
stale
indicates no udpates for 30 days
Is there an existing issue for this?
Environment
Current Behavior
When there are many collections and partitions, the
AssignSegment
operation becomes very slow, which in turn causes insertion to slow down significantly.Expected Behavior
The
AllocSegment
function inSegmentManager
is slow, likely due to lock contention.Steps To Reproduce
No response
Milvus Log
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: