Skip to content
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: Make applyDelete work in paralell in segment level #32291

Merged

Conversation

congqixia
Copy link
Contributor

applyDelete used to be serial for delete entries on each segments. This PR make it work in parallel with errgroup to improve performance

@sre-ci-robot sre-ci-robot added the size/M Denotes a PR that changes 30-99 lines. label Apr 15, 2024
@sre-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Apr 15, 2024
Copy link
Contributor

mergify bot commented Apr 15, 2024

@congqixia E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

Copy link

codecov bot commented Apr 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.79%. Comparing base (dcc15e3) to head (92c14b8).
Report is 2 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #32291      +/-   ##
==========================================
- Coverage   81.83%   81.79%   -0.04%     
==========================================
  Files         999      999              
  Lines      124070   124081      +11     
==========================================
- Hits       101529   101491      -38     
- Misses      18666    18720      +54     
+ Partials     3875     3870       -5     
Files Coverage Δ
internal/querynodev2/delegator/delegator_data.go 85.90% <100.00%> (+1.42%) ⬆️

... and 35 files with indirect coverage changes

@congqixia
Copy link
Contributor Author

/run-cpu-e2e

@mergify mergify bot added the ci-passed label Apr 16, 2024
@congqixia
Copy link
Contributor Author

/hold

@congqixia
Copy link
Contributor Author

/unhold

Copy link
Contributor

mergify bot commented Apr 23, 2024

@congqixia E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

@congqixia
Copy link
Contributor Author

/run-cpu-e2e

Copy link
Contributor

mergify bot commented Apr 23, 2024

@congqixia E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

@congqixia congqixia force-pushed the enhance/delete_segment_parallel branch from 51c30d4 to 8df2c91 Compare April 23, 2024 14:05
Copy link
Contributor

mergify bot commented Apr 23, 2024

@congqixia E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

`applyDelete` used to be serial for delete entries on each segments.
This PR make it work in parallel with errgroup to improve performance

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
@congqixia congqixia force-pushed the enhance/delete_segment_parallel branch from 8df2c91 to eaca57f Compare April 24, 2024 02:16
Copy link
Contributor

mergify bot commented Apr 24, 2024

@congqixia E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

@congqixia
Copy link
Contributor Author

/run-cpu-e2e

1 similar comment
@congqixia
Copy link
Contributor Author

/run-cpu-e2e

Copy link
Contributor

mergify bot commented Apr 24, 2024

@congqixia E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

1 similar comment
Copy link
Contributor

mergify bot commented Apr 24, 2024

@congqixia E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

@congqixia
Copy link
Contributor Author

/run-cpu-e2e

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
@mergify mergify bot added the ci-passed label Apr 24, 2024
@weiliu1031
Copy link
Contributor

/lgtm

@sre-ci-robot sre-ci-robot merged commit faa5595 into milvus-io:master Apr 24, 2024
15 checks passed
congqixia added a commit to congqixia/milvus that referenced this pull request Apr 25, 2024
…o#32291)

`applyDelete` used to be serial for delete entries on each segments.
This PR make it work in parallel with errgroup to improve performance

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
sre-ci-robot pushed a commit that referenced this pull request Apr 26, 2024
…2291) (#32604)

Cherry-pick from master
pr: #32291
`applyDelete` used to be serial for delete entries on each segments.
This PR make it work in parallel with errgroup to improve performance

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved ci-passed dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement lgtm size/M Denotes a PR that changes 30-99 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants