-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Enhancement]: Reduce lock granularity in Datacoord meta #30837
Comments
This seems to be a challenging task to work on. @sunby could you please help on this |
) issue: #30837 Signed-off-by: jaime <yun.zhang@zilliz.com>
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. |
keep it |
Is there an existing issue for this?
What would you like to be added?
Why is this needed?
lock contention easily causes load segments, release segments and update channel checkpoint requests to fail in Datacoord meta which holds a coarse lock and executes some IO operations after acquiring the lock.
We attempt to test stability with flushing after inserting one row, the following issues are exposed when the number of segments has reached 20-30K :
We saw the write lock will be held for more than 2s during updating compaction results.
87K+ goroutine acquiring a write lock to update channel checkpoint
Anything else?
No response
The text was updated successfully, but these errors were encountered: