aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/storage/mock/db
diff options
context:
space:
mode:
authorFerenc Szabo <frncmx@gmail.com>2018-11-13 22:22:53 +0800
committerAnton Evangelatov <anton.evangelatov@gmail.com>2018-11-13 22:22:53 +0800
commitc41e1bd1ebf8a625dd22a07c31bcd6837705e0d7 (patch)
tree8f9414a1f46a9ab95f0544b4d9aa0efce05725bf /swarm/storage/mock/db
parent4fecc7a3b1b9c51efad47ea128abcb7259158487 (diff)
downloadgo-tangerine-c41e1bd1ebf8a625dd22a07c31bcd6837705e0d7.tar
go-tangerine-c41e1bd1ebf8a625dd22a07c31bcd6837705e0d7.tar.gz
go-tangerine-c41e1bd1ebf8a625dd22a07c31bcd6837705e0d7.tar.bz2
go-tangerine-c41e1bd1ebf8a625dd22a07c31bcd6837705e0d7.tar.lz
go-tangerine-c41e1bd1ebf8a625dd22a07c31bcd6837705e0d7.tar.xz
go-tangerine-c41e1bd1ebf8a625dd22a07c31bcd6837705e0d7.tar.zst
go-tangerine-c41e1bd1ebf8a625dd22a07c31bcd6837705e0d7.zip
swarm/storage: fix garbage collector index skew (#18080)
On file access LDBStore's tryAccessIdx() function created a faulty GC Index Data entry, because not indexing the ikey correctly. That caused the chunk addresses/hashes to start with '00' and the last two digits were dropped. => Incorrect chunk address. Besides the fix, the commit also contains a schema change which will run the CleanGCIndex() function to clean the GC index from erroneous entries. Note: CleanGCIndex() rebuilds the index from scratch which can take a really-really long time with a huge DB (possibly an hour).
Diffstat (limited to 'swarm/storage/mock/db')
0 files changed, 0 insertions, 0 deletions