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: Tidy compaction executor #33778

Merged

Conversation

bigsheeper
Copy link
Contributor

Move compaction executor to compaction pacakge.

issue: #32451

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
@sre-ci-robot sre-ci-robot added the size/L Denotes a PR that changes 100-499 lines. label Jun 12, 2024
@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Jun 12, 2024
@bigsheeper
Copy link
Contributor Author

rerun ut

@czs007
Copy link
Collaborator

czs007 commented Jun 12, 2024

/approve
/lgtm

@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bigsheeper, czs007

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

@bigsheeper
Copy link
Contributor Author

rerun ut

@sre-ci-robot sre-ci-robot removed the lgtm label Jun 13, 2024
Copy link

codecov bot commented Jun 13, 2024

Codecov Report

Attention: Patch coverage is 97.01493% with 2 lines in your changes missing coverage. Please review.

Project coverage is 80.87%. Comparing base (b69e909) to head (ad9e41a).
Report is 2 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #33778      +/-   ##
==========================================
- Coverage   80.92%   80.87%   -0.05%     
==========================================
  Files        1058     1058              
  Lines      135395   135397       +2     
==========================================
- Hits       109562   109507      -55     
- Misses      21656    21690      +34     
- Partials     4177     4200      +23     
Files Coverage Δ
internal/datanode/data_node.go 82.20% <100.00%> (ø)
internal/datanode/data_sync_service.go 77.04% <ø> (-1.10%) ⬇️
internal/datanode/flow_graph_dd_node.go 92.54% <100.00%> (ø)
internal/datanode/services.go 82.02% <100.00%> (+0.02%) ⬆️
internal/datanode/compaction/executor.go 86.25% <96.49%> (ø)

... and 28 files with indirect coverage changes

@mergify mergify bot added the ci-passed label Jun 14, 2024
@czs007
Copy link
Collaborator

czs007 commented Jun 14, 2024

/lgtm

@sre-ci-robot sre-ci-robot merged commit 86a36b1 into milvus-io:master Jun 14, 2024
15 checks passed
bigsheeper added a commit to bigsheeper/milvus that referenced this pull request Jul 1, 2024
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
sre-ci-robot pushed a commit that referenced this pull request Jul 2, 2024
This PR cherry-picks the following commits related to compaction:

- Use a pool for CompactionExecutor.
#33558
- Move compaction executor to compaction pacakge.
#33778
- Ensure the idempotency of compaction tasks.
#33872
- Add comment for channel cp updater.
#33759

issue: #33182,
#32451

pr: #33558,
#33778,
#33872,
#33759

---------

Signed-off-by: coldWater <254244460@qq.com>
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Co-authored-by: coldWater <254244460@qq.com>
yellow-shine pushed a commit to yellow-shine/milvus that referenced this pull request Jul 2, 2024
Move compaction executor to compaction pacakge.

issue: milvus-io#32451

Signed-off-by: bigsheeper <yihao.dai@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/L Denotes a PR that changes 100-499 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants