plugeth/swarm/storage
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
..
encryption Encryption async api (#17603) 2018-09-11 11:39:02 +02:00
feed swarm: clean up unused private types and functions (#17989) 2018-10-27 16:18:42 +02:00
mock swarm: network rewrite merge 2018-06-21 21:10:31 +02:00
chunker_test.go swarm, swarm/storage: lower constants for faster tests (#17876) 2018-10-09 11:45:42 +02:00
chunker.go swarm: Chunk refactor (#17659) 2018-09-13 11:42:19 +02:00
common_test.go swarm: clean up unused private types and functions (#17989) 2018-10-27 16:18:42 +02:00
database.go swarm: schemas and migrations (#17813) 2018-10-03 14:31:59 +02:00
error.go swarm: network rewrite merge 2018-06-21 21:10:31 +02:00
filestore_test.go swarm, swarm/storage: lower constants for faster tests (#17876) 2018-10-09 11:45:42 +02:00
filestore.go swarm: ctx propagation; bmt fixes; pss generic notification framework (#17150) 2018-07-09 14:11:49 +02:00
hasherstore_test.go swarm: Chunk refactor (#17659) 2018-09-13 11:42:19 +02:00
hasherstore.go swarm/storage: ensure 64bit hasherStore struct alignment (#17766) 2018-09-28 20:04:56 +02:00
ldbstore_test.go swarm/storage: fix garbage collector index skew (#18080) 2018-11-13 15:22:53 +01:00
ldbstore.go swarm/storage: fix garbage collector index skew (#18080) 2018-11-13 15:22:53 +01:00
localstore_test.go swarm/storage: fix access count on dbstore after cache hit (#17978) 2018-11-13 07:41:01 +01:00
localstore.go swarm/storage: fix garbage collector index skew (#18080) 2018-11-13 15:22:53 +01:00
memstore_test.go swarm, swarm/storage: lower constants for faster tests (#17876) 2018-10-09 11:45:42 +02:00
memstore.go swarm: Chunk refactor (#17659) 2018-09-13 11:42:19 +02:00
netstore_test.go swarm: prevent forever running retrieve request loops 2018-09-26 11:34:40 +02:00
netstore.go swarm: prevent forever running retrieve request loops 2018-09-26 11:34:40 +02:00
pyramid.go swarm: Chunk refactor (#17659) 2018-09-13 11:42:19 +02:00
schema.go swarm/storage: fix garbage collector index skew (#18080) 2018-11-13 15:22:53 +01:00
swarmhasher.go swarm: network rewrite merge 2018-06-21 21:10:31 +02:00
types.go swarm, cmd/swarm: address ineffectual assignments (#18048) 2018-11-07 20:39:08 +01:00