swarm/storage: fix access count on dbstore after cache hit (#17978)
Access count was not incremented when chunk was retrieved
from cache. So the garbage collector might have deleted the most
frequently accessed chunk from disk.
Co-authored-by: NFerenc Szabo <ferenc.szabo@ethereum.org>
Showing
想要评论请 注册 或 登录