logoalt Hacker News

macNchztoday at 2:51 PM2 repliesview on HN

Caching is not supposed to work like that, but that doesn’t preclude the cache key computation function from having bugs.


Replies

marginalia_nutoday at 3:01 PM

Yeah there's quite a lot of potential bugs that could have this shape. If I were to guess it could be a buffer in a buffer pool not being sized and zeroed correctly, allowing stale data to bleed between sessions.

nok22kontoday at 4:13 PM

or the cache retrieval function for a key retrieving the wrong entry