Skip to content

Conversation

@fcofdez
Copy link
Contributor

@fcofdez fcofdez commented Dec 11, 2025

Use retrieveChecksum() instead of checksumEntireFile() in ES93BloomFilterStoredFieldsFormat.
While individual bloom filter files are small, checksumming on every reader open adds up across
many segments.

We can safely defer verification since files are checksummed during merges.

Also switch to using the slice reader for merges since it's already positioned correctly in the file.

Use retrieveChecksum() instead of checksumEntireFile() in
ES93BloomFilterStoredFieldsFormat. While individual bloom filter files
are small, checksumming on every reader open adds up across many segments.

We can safely defer verification since files are checksummed during merges.
Also switch to using the slice reader for merges since it's already
positioned correctly in the file.
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

Copy link
Member

@tlrx tlrx left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@martijnvg martijnvg left a comment

Choose a reason for hiding this comment

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

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants