-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
enhance: mmap load raw data if scalar index does not have raw data #33175
Conversation
Signed-off-by: sunby <sunbingyi1992@gmail.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ 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
|
@@ -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 { |
There was a problem hiding this comment.
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?
/approve |
[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 |
/lgtm |
…ilvus-io#33175) Signed-off-by: sunby <sunbingyi1992@gmail.com>
No description provided.