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: Fix incorrect memory estimation for small segments #38813

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bigsheeper
Copy link
Contributor

Skip estimation index memory logic for segments without index file.

issue: #37630

@sre-ci-robot sre-ci-robot added the size/XS Denotes a PR that changes 0-9 lines. label Dec 27, 2024
@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: bigsheeper
To complete the pull request process, please assign wxyucs after the PR has been reviewed.
You can assign the PR to them by writing /assign @wxyucs in a comment when ready.

The full list of commands accepted by this bot can be found 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/bug Issues or changes related a bug labels Dec 27, 2024
czs007 pushed a commit that referenced this pull request Dec 27, 2024
Skip estimation index memory logic for segments without index file.

issue: #37630

pr: #38813

Signed-off-by: bigsheeper <[email protected]>
Copy link
Contributor

mergify bot commented Dec 27, 2024

@bigsheeper cpp-unit-test check failed, comment rerun cpp-unit-test can trigger the job again.

Copy link

codecov bot commented Dec 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.92%. Comparing base (a882f34) to head (1485443).
Report is 3 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #38813      +/-   ##
==========================================
- Coverage   82.93%   82.92%   -0.02%     
==========================================
  Files        1091     1091              
  Lines      169357   169393      +36     
==========================================
+ Hits       140453   140461       +8     
- Misses      23319    23333      +14     
- Partials     5585     5599      +14     
Components Coverage Δ
Client 78.73% <ø> (ø)
Core ∅ <ø> (∅)
Go 83.07% <82.81%> (-0.02%) ⬇️
Files with missing lines Coverage Δ
internal/querynodev2/segments/segment_loader.go 72.70% <100.00%> (-0.25%) ⬇️

... and 30 files with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dco-passed DCO check passed. kind/bug Issues or changes related a bug size/XS Denotes a PR that changes 0-9 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants