Skip to content

fix: separate storage location accounting for internal cache holds - #20150

Open
clintropolis wants to merge 2 commits into
apache:masterfrom
clintropolis:fix-storage-location-accounting
Open

fix: separate storage location accounting for internal cache holds#20150
clintropolis wants to merge 2 commits into
apache:masterfrom
clintropolis:fix-storage-location-accounting

Conversation

@clintropolis

Copy link
Copy Markdown
Member

Description

Partially loaded segments use the same type of 'holds' a query places on cache entries for 'structural' reasons such as preventing metadata entry or parent bundle entries from being evicted, partial load rules also place holds to pin all entries that the rule requires be loaded, etc. This PR distinguishes these internal usages by adding methods to StorageLocation which internal callers can use to influence how metrics are reported so that these internal usages do not count as cache hits and the like.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant