Skip to content

Dump the fingerprint if the targets at least match for read scenarios - #124

Merged
David Federman (dfederm) merged 1 commit into
mainfrom
dfederm/dump-fingerprint-more
Mar 15, 2025
Merged

David Federman (dfederm) merged 1 commit into
mainfrom
dfederm/dump-fingerprint-more

Conversation

@dfederm

Copy link
Copy Markdown
Member

Dump the fingerprint if the targets at least match for read scenarios

This will help with debugging cache misses as the fingerprint will be dumped in more cases.

Specifically, we use a looser targets check when doing a cache lookup than we do when adding to the cache. This is to allow for better cache hits even when extra target results are given. However, previously when determining whether we should dump a fingerprint, we would only do it if the targets matched enough for adding to the cache. This change checks if the targets match for read scenarios and if so, dumps the fingerprint.

@dfederm
David Federman (dfederm) force-pushed the dfederm/dump-fingerprint-more branch from b447c5e to d9162fd Compare March 14, 2025 23:58
@dfederm
David Federman (dfederm) force-pushed the dfederm/dump-fingerprint-more branch from d9162fd to 33b285f Compare March 15, 2025 00:00
@dfederm
David Federman (dfederm) enabled auto-merge (squash) March 15, 2025 00:00
@dfederm
David Federman (dfederm) deleted the dfederm/dump-fingerprint-more branch March 15, 2025 05:37
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.

2 participants