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: mmap load raw data if scalar index does not have raw data #33175

Merged
merged 1 commit into from
May 21, 2024

Conversation

sunby
Copy link
Contributor

@sunby sunby commented May 20, 2024

No description provided.

Signed-off-by: sunby <sunbingyi1992@gmail.com>
@sre-ci-robot sre-ci-robot requested review from aoiasd and yah01 May 20, 2024 07:21
@sre-ci-robot sre-ci-robot added the size/S Denotes a PR that changes 10-29 lines. label May 20, 2024
@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels May 20, 2024
Copy link

codecov bot commented May 20, 2024

Codecov Report

Attention: Patch coverage is 80.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 82.20%. Comparing base (c35eaaa) to head (761145b).
Report is 7 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #33175      +/-   ##
==========================================
+ Coverage   82.17%   82.20%   +0.03%     
==========================================
  Files        1009     1009              
  Lines      128822   128822              
==========================================
+ Hits       105856   105898      +42     
+ Misses      18961    18934      -27     
+ Partials     4005     3990      -15     
Files Coverage Δ
internal/querynodev2/segments/segment.go 67.14% <100.00%> (ø)
internal/querynodev2/segments/segment_loader.go 73.42% <66.66%> (ø)

... and 30 files with indirect coverage changes

@mergify mergify bot added the ci-passed label May 20, 2024
@@ -967,7 +967,7 @@ func (s *LocalSegment) LoadMultiFieldData(ctx context.Context) error {
return nil
}

func (s *LocalSegment) LoadFieldData(ctx context.Context, fieldID int64, rowCount int64, field *datapb.FieldBinlog) error {
func (s *LocalSegment) LoadFieldData(ctx context.Context, fieldID int64, rowCount int64, field *datapb.FieldBinlog, useMmap bool) error {
Copy link
Contributor

Choose a reason for hiding this comment

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

better to renamed as forceUseMmap?

@czs007
Copy link
Contributor

czs007 commented May 21, 2024

/approve

@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

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

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

@czs007
Copy link
Contributor

czs007 commented May 21, 2024

/lgtm

@sre-ci-robot sre-ci-robot merged commit 0f8c6f4 into milvus-io:master May 21, 2024
15 checks passed
@czs007 czs007 added the PR | need cherry-pick need cherry pick to other branches label May 21, 2024
@czs007 czs007 added this to the 2.4.3 milestone May 23, 2024
sunby added a commit to sunby/milvus that referenced this pull request May 23, 2024
sre-ci-robot pushed a commit that referenced this pull request May 24, 2024
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 PR | need cherry-pick need cherry pick to other branches size/S Denotes a PR that changes 10-29 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants