cache nbytes issues
Open
- Dominant language
- Go
- Stars
- 13.3k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
In the groupcache.go func (c *cache) add(key string, value ByteView).
"c.nbytes += int64(len(key)) + int64(value.Len())"
If the key has already exist, the nbytes calaculate will wrong.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.