Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
Signed-off-by: sunby <sunbingyi1992@gmail.com>
  • Loading branch information
sunby committed Dec 16, 2024
1 parent 8df8db3 commit 5b9f6dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/core/src/segcore/ChunkedSegmentSealedImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ ChunkedSegmentSealedImpl::WarmupChunkCache(const FieldId field_id,
auto cc = storage::MmapManager::GetInstance().GetChunkCache();
for (const auto& data_path : field_info.insert_files) {
auto column = cc->Read(
data_path, mmap_descriptor_, field_meta, mmap_enabled, true);
data_path, field_meta, mmap_enabled, true);
}
}

Expand Down Expand Up @@ -949,7 +949,7 @@ std::tuple<
descriptor,
const FieldMeta&
field_meta) {
auto column = cc->Read(data_path, descriptor, field_meta, true);
auto column = cc->Read(data_path, field_meta, true);
cc->Prefetch(data_path);
return {data_path, std::dynamic_pointer_cast<ChunkedColumnBase>(column)};
}
Expand Down

0 comments on commit 5b9f6dd

Please sign in to comment.