Skip to content

Continuously fields can read by one system call in BlobStore::read #5078

Description

@flowbehappy

Enhancement

To avoid too many IOPS.

for (const auto field_index : fields)
{
// TODO: Continuously fields can read by one system call.
const auto [beg_offset, end_offset] = entry.getFieldOffsets(field_index);
const auto size_to_read = end_offset - beg_offset;
auto blob_file = read(entry.file_id, entry.offset + beg_offset, write_offset, size_to_read, read_limiter);

Metadata

Metadata

Assignees

Labels

component/storagegood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.type/enhancementThe issue or PR belongs to an enhancement.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions