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
fix(posting): prevent stale cache hits when maxTs < readTs (#9597) (#9614)
**Description**
When reading posting lists from the cache, `readFromCache` only verified
that `minTs <= readTs`, but did not check that `maxTs >= readTs`. This
allowed stale cache entries to be returned when newer data had been
committed to disk but the cache hadn't been updated yet.
Closes#9597
**Checklist**
- [x] The PR title follows the
[Conventional
Commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) syntax,
leading
with `fix:`, `feat:`, `chore:`, `ci:`, etc.
- [x] Code compiles correctly and linting (via trunk) passes locally
- [x] Tests added for new functionality, or regression tests for bug
fixes added as applicable
0 commit comments