-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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] Save collection targets by batches (#31616) #31632
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: congqixia 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 |
See also milvus-io#28491 milvus-io#31240 When colleciton number is large, querycoord saves collection target one by one, which is slow and may block querycoord exits. In local run, 500 collections scenario may lead to about 40 seconds saving collection targets. This PR changes the `SaveCollectionTarget` interface into batch one and organizes the collection in 16 per bundle batches to accelerate this procedure. Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
@congqixia E2e jenkins job failed, comment |
/run-cpu-e2e |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 2.4 #31632 +/- ##
==========================================
- Coverage 80.85% 80.70% -0.16%
==========================================
Files 970 970
Lines 137715 137761 +46
==========================================
- Hits 111354 111175 -179
- Misses 22647 22875 +228
+ Partials 3714 3711 -3
|
@congqixia E2e jenkins job failed, comment |
/run-cpu-e2e |
/lgtm |
See also milvus-io#31632 Release conc.Pool after usage to clean worker and stop background purge and ticktock. Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
See also milvus-io#31632 Release conc.Pool after usage to clean worker and stop background purge and ticktock. Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
See also #31632 Release conc.Pool after usage to clean worker and stop background purge and ticktock. Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
See also milvus-io#31632 Release conc.Pool after usage to clean worker and stop background purge and ticktock. Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Cherry-pick from master
pr: #31616
See also #28491 #31240
When colleciton number is large, querycoord saves collection target one by one, which is slow and may block querycoord exits.
In local run, 500 collections scenario may lead to about 40 seconds saving collection targets.
This PR changes the
SaveCollectionTarget
interface into batch one and organizes the collection in 16 per bundle batches to accelerate this procedure.