Skip to content

feat: add stats() method to ObjectStoreRegistry#5706

Merged
westonpace merged 2 commits intolance-format:mainfrom
wkalt:task/object-storage-registry-stats
Jan 14, 2026
Merged

feat: add stats() method to ObjectStoreRegistry#5706
westonpace merged 2 commits intolance-format:mainfrom
wkalt:task/object-storage-registry-stats

Conversation

@wkalt
Copy link
Copy Markdown
Contributor

@wkalt wkalt commented Jan 13, 2026

Adds a stats() method to ObjectStoreRegistry to show hit, miss, and active store counts. This will enable applications to monitor for unexpected spikes in cache misses (indicating storage handles are not reused, which is potentially costly).

Consuming applications can bring this condition on themselves by inadvertently adding dynamic data to storage_options, which is currently part of the cache key.

Adds a stats() method to ObjectStoreRegistry to show hit, miss, and
active store counts. This will enable applications to monitor for
unexpected spikes in cache misses (indicating storage handles are not
reused, which is potentially costly).

Consuming applications can bring this condition on themselves by
inadvertently adding dynamic data to storage_options, which is currently
part of the cache key.
@github-actions github-actions Bot added the enhancement New feature or request label Jan 13, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 13, 2026

Codecov Report

❌ Patch coverage is 97.91667% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
rust/lance-tools/src/meta.rs 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@westonpace westonpace merged commit 845d682 into lance-format:main Jan 14, 2026
40 of 41 checks passed
jackye1995 pushed a commit to jackye1995/lance that referenced this pull request Jan 20, 2026
Adds a stats() method to ObjectStoreRegistry to show hit, miss, and
active store counts. This will enable applications to monitor for
unexpected spikes in cache misses (indicating storage handles are not
reused, which is potentially costly).

Consuming applications can bring this condition on themselves by
inadvertently adding dynamic data to storage_options, which is currently
part of the cache key.
jackye1995 pushed a commit to jackye1995/lance that referenced this pull request Jan 21, 2026
Adds a stats() method to ObjectStoreRegistry to show hit, miss, and
active store counts. This will enable applications to monitor for
unexpected spikes in cache misses (indicating storage handles are not
reused, which is potentially costly).

Consuming applications can bring this condition on themselves by
inadvertently adding dynamic data to storage_options, which is currently
part of the cache key.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants