Ferenc Szabo c41e1bd1eb 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).
2018-11-13 15:22:53 +01:00
..
2018-09-11 11:39:02 +02:00
2018-06-21 21:10:31 +02:00
2018-09-13 11:42:19 +02:00
2018-06-21 21:10:31 +02:00
2018-09-13 11:42:19 +02:00
2018-09-13 11:42:19 +02:00
2018-06-21 21:10:31 +02:00