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: add mem size for index file and fallback to multiply with serialized size #38716

Merged

Conversation

chyezh
Copy link
Contributor

@chyezh chyezh commented Dec 24, 2024

issue: #38715

@sre-ci-robot sre-ci-robot added area/internal-api size/XXL Denotes a PR that changes 1000+ lines. labels Dec 24, 2024
@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Dec 24, 2024
internal/datacoord/index_meta.go Outdated Show resolved Hide resolved
internal/metastore/model/segment_index.go Outdated Show resolved Hide resolved
@chyezh chyezh force-pushed the enhance_mem_index_file_multiply_factor branch from 51bbb80 to 95b0b65 Compare December 24, 2024 12:11
@sre-ci-robot sre-ci-robot added size/S Denotes a PR that changes 10-29 lines. and removed size/XXL Denotes a PR that changes 1000+ lines. labels Dec 24, 2024
@chyezh chyezh force-pushed the enhance_mem_index_file_multiply_factor branch from 95b0b65 to 6ed14c8 Compare December 24, 2024 12:47
Copy link

codecov bot commented Dec 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.08%. Comparing base (118678b) to head (098e487).
Report is 4 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           master   #38716       +/-   ##
===========================================
+ Coverage   69.33%   81.08%   +11.74%     
===========================================
  Files         292     1381     +1089     
  Lines       26187   195256   +169069     
===========================================
+ Hits        18158   158331   +140173     
- Misses       8029    31334    +23305     
- Partials        0     5591     +5591     
Components Coverage Δ
Client 78.26% <ø> (∅)
Core 69.33% <ø> (ø)
Go 83.07% <100.00%> (∅)
Files with missing lines Coverage Δ
internal/querynodev2/segments/segment.go 64.30% <100.00%> (ø)
pkg/util/paramtable/component_param.go 98.38% <100.00%> (ø)

... and 1087 files with indirect coverage changes

@tedxu
Copy link
Contributor

tedxu commented Dec 24, 2024

/lgtm

@chyezh chyezh force-pushed the enhance_mem_index_file_multiply_factor branch from 6ed14c8 to 098e487 Compare December 25, 2024 02:47
@sre-ci-robot sre-ci-robot removed the lgtm label Dec 25, 2024
@xiaofan-luan
Copy link
Collaborator

/lgtm
/approve

@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

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

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 pushed a commit that referenced this pull request Dec 25, 2024
sre-ci-robot pushed a commit that referenced this pull request Dec 25, 2024
@mergify mergify bot added the ci-passed label Dec 25, 2024
@sre-ci-robot sre-ci-robot merged commit 5395ec1 into milvus-io:master Dec 25, 2024
19 of 20 checks passed
@chyezh chyezh deleted the enhance_mem_index_file_multiply_factor branch December 25, 2024 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/internal-api ci-passed dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement lgtm size/S Denotes a PR that changes 10-29 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants