groupcache/lru
ct16k 7f8db4d8ed fix: add generation tracking to prevent keys surviving a clear operation
Running a Purge and a Get at the same time could allow an old key to be
pulled back into the cache if the request was initiated by a node that
had been cleared and sent to a node that hadn't. This patch tries to
mitigate this, by adding an additional `generation` field, that keeps
track of the number of purges issued. Requests are fulfilled successfully
only if boths ends of a request are on the same generation.
2023-01-22 10:58:45 +02:00
..
lru_test.go Fix LRU to correct evict cache items when replaced (#52) 2022-12-20 09:31:47 -06:00
lru.go fix: add generation tracking to prevent keys surviving a clear operation 2023-01-22 10:58:45 +02:00