Skip to content

Conversation

@martijnvg
Copy link
Member

Backporting #121636 to 8.18 branch.

Improve LuceneSyntheticSourceChangesSnapshot by triggering to use a sequential stored field reader if docids are dense. This is done by computing for which docids to synthesize recovery source for. If the requested docids are dense and monotonic increasing a sequential stored field reader is used, which provided recovery source for many documents without repeatedly de-compressing the same block of stored fields.

…urceChangesSnapshot (elastic#121636)

Improve LuceneSyntheticSourceChangesSnapshot by triggering to use a sequential stored field reader if docids are dense. This is done by computing for which docids to synthesize recovery source for. If the requested docids are dense and monotonic increasing a sequential stored field reader is used, which provided recovery source for many documents without repeatedly de-compressing the same block of stored fields.
@martijnvg martijnvg added backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :StorageEngine/Logs You know, for Logs v8.18.1 labels Feb 10, 2025
@elasticsearchmachine elasticsearchmachine merged commit 9c3c628 into elastic:8.18 Feb 10, 2025
15 checks passed
@martijnvg martijnvg deleted the backport_121636_8.18 branch February 10, 2025 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport :StorageEngine/Logs You know, for Logs v8.18.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants