-
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: [2.4] Unify LoadStateLock RLock & PinIf (#39206) #39290
Conversation
Related to milvus-io#39205 This PR merge `RLock` & `PinIfNotReleased` into `PinIf` function preventing segment being released before any Read operation finished. --------- Signed-off-by: Congqi Xia <[email protected]>
@congqixia E2e jenkins job failed, comment |
/run-cpu-e2e |
@congqixia E2e jenkins job failed, comment |
Signed-off-by: Congqi Xia <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 2.4 #39290 +/- ##
==========================================
+ Coverage 80.44% 80.48% +0.03%
==========================================
Files 1079 1079
Lines 169909 169889 -20
==========================================
+ Hits 136678 136727 +49
+ Misses 28730 28677 -53
+ Partials 4501 4485 -16
|
Related to milvus-io#39205 Previous PR milvus-io#39206 This PR change wait timeout behavior to log error and return to avoid making other collection read failure in only some collections have deadlock Signed-off-by: Congqi Xia <[email protected]>
Signed-off-by: Congqi Xia <[email protected]>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: congqixia, 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 |
Cherry-pick from master
pr: #39206 #39308
Related to #39205
This PR merge
RLock
&PinIfNotReleased
intoPinIf
function preventing segment being released before any Read operation finished.