You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 83dfbfa
Browse filesBrowse the repository at this point in the historyBrowse files
fix(spring): Fix get(key, type) double-call in SentryCacheWrapper
Use a single delegate.get(key, type) call instead of calling
delegate.get(key) for hit detection and delegate.get(key, type) for
the actual value. This eliminates doubled cache round trips (e.g. Redis
network calls) and a TOCTOU race where the entry could expire between
the two calls.
The trade-off is that cached null values are now indistinguishable from
cache misses, which is acceptable for observability purposes.
0 commit comments