A GetWithValue deserialization error in RememberFor was returned as fatal. On a Redis upgrade the metrics counters live under the same keys as before but were stored as plain int64, so the first decode into the new envelope would fail and the metric would break permanently. Treat such errors as a miss and recompute/overwrite so the cache self-heals. |
||
|---|---|---|
| .. | ||
| error | ||
| memory | ||
| redis | ||
| keyvalue.go | ||
| keyvalue_test.go | ||