Commit Graph

4 Commits

Author SHA1 Message Date
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
Derrick J. Wippler
ce8fe99325 Sinks can not accept an expire time 2019-04-09 17:36:03 -05:00
Neuman Vong
f81960bea5 Implement WriterTo
Avoids allocation/copy when writing byteview to a writer.
2017-03-02 14:33:40 -08:00
Brad Fitzpatrick
6dad98a783 initial commit. 2013-07-23 18:03:06 -07:00