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

fix: missing to support compact for Array type #29505

Merged
merged 2 commits into from
Dec 28, 2023

Conversation

yah01
Copy link
Member

@yah01 yah01 commented Dec 26, 2023

the array type can't be compacted, the system could continue with the inserted segments, but these segments can be never compacted

fix #29503

@sre-ci-robot sre-ci-robot added the size/S Denotes a PR that changes 10-29 lines. label Dec 26, 2023
@mergify mergify bot added dco-passed DCO check passed. kind/bug Issues or changes related a bug labels Dec 26, 2023
@xiaofan-luan
Copy link
Contributor

/lgtm
/approve

@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xiaofan-luan, yah01

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

@xiaofan-luan
Copy link
Contributor

need a test on compacting all datatypes

Copy link

codecov bot commented Dec 26, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (623939c) 80.84% compared to head (de23c16) 80.81%.
Report is 4 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #29505      +/-   ##
==========================================
- Coverage   80.84%   80.81%   -0.03%     
==========================================
  Files         917      917              
  Lines      126902   126917      +15     
==========================================
- Hits       102590   102573      -17     
- Misses      20995    21021      +26     
- Partials     3317     3323       +6     
Files Coverage Δ
internal/datanode/compactor.go 85.10% <80.00%> (-0.47%) ⬇️

... and 18 files with indirect coverage changes

@yah01
Copy link
Member Author

yah01 commented Dec 26, 2023

/hold

xiaofan-luan pushed a commit that referenced this pull request Dec 27, 2023
the array type can't be compacted, the system could continue with the
inserted segments, but these segments can be never compacted

fix #29503
pr: #29505

---------

Signed-off-by: yah01 <yah2er0ne@outlook.com>
@sre-ci-robot sre-ci-robot added size/M Denotes a PR that changes 30-99 lines. and removed lgtm size/S Denotes a PR that changes 10-29 lines. labels Dec 27, 2023
@yah01
Copy link
Member Author

yah01 commented Dec 27, 2023

rerun ut

the array type can't be compacted, the system could continue with the inserted segments, but these segments can be never compacted

fix milvus-io#29503

Signed-off-by: yah01 <yah2er0ne@outlook.com>
Signed-off-by: yah01 <yah2er0ne@outlook.com>
@yah01
Copy link
Member Author

yah01 commented Dec 28, 2023

/unhold

Copy link
Contributor

@congqixia congqixia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@sre-ci-robot sre-ci-robot merged commit a8a0aa9 into milvus-io:master Dec 28, 2023
14 checks passed
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/bug Issues or changes related a bug lgtm size/M Denotes a PR that changes 30-99 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Compaction can be never done with Array type
4 participants