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: Avoid unnecessary compaction #35148

Merged
merged 3 commits into from
Aug 6, 2024

Conversation

bigsheeper
Copy link
Contributor

Estimate the import segment size based on DiskSegmentMaxSize(2G) to avoid unnecessary compaction after import completed.

issue: #35147

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

rerun ut

@mergify mergify bot added the ci-passed label Aug 1, 2024
Copy link

codecov bot commented Aug 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.68%. Comparing base (a2b5175) to head (0431877).
Report is 3 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #35148      +/-   ##
==========================================
- Coverage   84.90%   81.68%   -3.22%     
==========================================
  Files         938     1211     +273     
  Lines      119028   143317   +24289     
==========================================
+ Hits       101059   117075   +16016     
- Misses      13545    21836    +8291     
+ Partials     4424     4406      -18     
Files Coverage Δ
internal/datacoord/compaction_trigger.go 87.40% <100.00%> (-0.03%) ⬇️
internal/datacoord/import_checker.go 89.55% <100.00%> (+0.04%) ⬆️
internal/datacoord/import_util.go 90.90% <100.00%> (+0.10%) ⬆️
internal/datacoord/index_meta.go 95.29% <100.00%> (-0.26%) ⬇️

... and 303 files with indirect coverage changes

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
@mergify mergify bot added ci-passed and removed ci-passed labels Aug 5, 2024
@czs007
Copy link
Contributor

czs007 commented Aug 6, 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

@sre-ci-robot sre-ci-robot merged commit 678018d into milvus-io:master Aug 6, 2024
15 checks passed
sre-ci-robot pushed a commit that referenced this pull request Aug 6, 2024
Estimate the import segment size based on DiskSegmentMaxSize(2G) to
avoid unnecessary compaction after import completed.

issue: #35147

pr: #35148

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
sumitd2 pushed a commit to sumitd2/milvus that referenced this pull request Aug 6, 2024
Estimate the import segment size based on DiskSegmentMaxSize(2G) to
avoid unnecessary compaction after import completed.

issue: milvus-io#35147

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Signed-off-by: Sumit Dubey <sumit.dubey2@ibm.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.

3 participants