Repository navigation
tantivy: count bundle range-read bytes by index file kind - #429
Merged
Merged
Conversation
A cold 7-day errors list reads ~1.1 GB of bundle ranges for 800 hits (~1.4 MB per hit, 5x the full path's ~255 KB). Whether that is fast-field columns, term data or the doc store decides between caching and not reading it at all.
Monoscope production impact · Coverage unknownProject Evidence window (UTC): 2026-10-18 15:33:07.387265537 UTC → 2026-10-25 15:33:07.387265537 UTC Coverage: Open Monoscope for evidence and coverage details. |
|
Review of #429: bundle range-read bytes by index file kind. The change is small and correct. I found no bugs, and I haven't run the tests myself.
Suggestions, none blocking:
LGTM. 🤖 Generated with Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Observability only. After #426 a cold 7-day errors list on 6297304f reads ~1.1 GB of bundle ranges for 800 hits (~1.4 MB/hit vs ~255 KB/hit on the full path). Whether those bytes are fast-field columns, term data or the doc store decides the next fix (cache them on disk vs stop reading them).
Adds
range_read_{fast,terms,store}_bytestotimefusion_stats(tantivy component); the remainder ofrange_read_bytesis other files.BundleSource::read_fileis a provided method, so only the object-store source changes.Local signoff:
make ci-signofffmt/test/pg-smoke/e2e/clippy all pass (attested).🤖 Generated with Claude Code