Skip to content

v.1.2.0

Compare
Choose a tag to compare
@mgnsk mgnsk released this 10 Feb 09:45
· 248 commits to master since this release
f8e3547
  • Increase safety, make invariants stricter.
  • Clean up the ring implementation.
  • Prevent Evict/Fetch "flap" when Fetch fails with an error and concurrently the same key is evicted and set again.
    Normally the failed fetch will try to remove the stored record after LoadOrStore succeeds and FetchCallback fails but will not if another record had been set under the same key.
  • Add tests for consistency under concurrent load.