Skip to content

feat: Expose cache hits in statistics_cache function#23253

Open
mkleen wants to merge 1 commit into
apache:mainfrom
mkleen:file-statistics-hits
Open

feat: Expose cache hits in statistics_cache function#23253
mkleen wants to merge 1 commit into
apache:mainfrom
mkleen:file-statistics-hits

Conversation

@mkleen

@mkleen mkleen commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

  • Closes None.

Rationale for this change

Follow up to #22613. Cache hits are now supported for all memory-limiting caches. Therefore it makes sense to expose them in the statistics_cache function the same way the metadata_cache function does it already.

What changes are included in this PR?

  • Add cache hits to the statistics_cache function
  • Tests
  • Adapt documentation for the statistics_cache function

Are these changes tested?

Yes.

Are there any user-facing changes?

Yes, the statistics_cache function supports now cache hits but no breaking changes.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jun 30, 2026
@mkleen mkleen marked this pull request as ready for review June 30, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant