Skip to content

Avoid synthetic cache hits in async multi-map - #2260

Open
alaricd wants to merge 1 commit into
DapperLib:mainfrom
pengdows:fix/issue-2240
Open

alaricd wants to merge 1 commit into
DapperLib:mainfrom
pengdows:fix/issue-2240

Conversation

@alaricd

@alaricd alaricd commented Oct 24, 2026

Copy link
Copy Markdown

Fixes #2240

Async multi-map queries looked up the same CacheInfo twice during a single execution, recording a synthetic cache hit and preventing one-off queries from being collected. Reuse the initial CacheInfo and add a fakeDb regression test.

This branch has not been deployed

No deployments
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.

Async multi-map records cache reuse on first execution, preventing eviction of one-off SQL, occasionally leading to OOM

1 participant