#212·bigcache

Iterator will be locked after OnRemoveWithReason

Author: xwc1125Created Mar 20, 2020Updated May 19, 2025
Labelsbug

What is the issue you are having?

Iterator will be lock after OnRemoveWithReason

What is BigCache doing that it shouldn't?

Iterator is not very well,and i want get all keys but it is can't,so i only use map ang bigcache.

Minimal, Complete, and Verifiable Example

Environment:

  • Version (git sha or release): v2.2.0
  • OS (e.g. from /etc/os-release or winver.exe): macOs darwin amd64
  • go version: 1.13.7