bsc/swarm/storage
Janoš Guljaš 3fd6db2bf6 swarm: fix network/stream data races (#19051)
* swarm/network/stream: newStreamerTester cleanup only if err is nil

* swarm/network/stream: raise newStreamerTester waitForPeers timeout

* swarm/network/stream: fix data races in GetPeerSubscriptions

* swarm/storage: prevent data race on LDBStore.batchesC

https://github.com/ethersphere/go-ethereum/issues/1198#issuecomment-461775049

* swarm/network/stream: fix TestGetSubscriptionsRPC data race

https://github.com/ethersphere/go-ethereum/issues/1198#issuecomment-461768477

* swarm/network/stream: correctly use Simulation.Run callback

https://github.com/ethersphere/go-ethereum/issues/1198#issuecomment-461783804

* swarm/network: protect addrCountC in Kademlia.AddrCountC function

https://github.com/ethersphere/go-ethereum/issues/1198#issuecomment-462273444

* p2p/simulations: fix a deadlock calling getRandomNode with lock

https://github.com/ethersphere/go-ethereum/issues/1198#issuecomment-462317407

* swarm/network/stream: terminate disconnect goruotines in tests

* swarm/network/stream: reduce memory consumption when testing data races

* swarm/network/stream: add watchDisconnections helper function

* swarm/network/stream: add concurrent counter for tests

* swarm/network/stream: rename race/norace test files and use const

* swarm/network/stream: remove watchSim and its panic

* swarm/network/stream: pass context in watchDisconnections

* swarm/network/stream: add concurrent safe bool for watchDisconnections

* swarm/storage: fix LDBStore.batchesC data race by not closing it
2019-02-13 13:03:23 +01:00
..
encryption vendor, crypto, swarm: switch over to upstream sha3 package 2019-01-04 09:26:07 +02:00
feed swarm/network, swarm/storage: Preserve opentracing contexts (#19022) 2019-02-08 16:57:48 +01:00
localstore swarm/storage/localstore: new localstore package (#19015) 2019-02-07 18:40:26 +01:00
mock swarm/storage/mock/test: fix T.Fatal inside a goroutine (#18399) 2019-01-07 14:32:01 +01:00
chunker_test.go vendor, crypto, swarm: switch over to upstream sha3 package 2019-01-04 09:26:07 +02:00
chunker.go swarm/network, swarm/storage: Preserve opentracing contexts (#19022) 2019-02-08 16:57:48 +01:00
common_test.go swarm: CI race detector test adjustments (#19017) 2019-02-08 17:07:11 +01:00
database.go swarm: remove unused/dead code (#18351) 2018-12-23 17:31:32 +01:00
error.go swarm: remove unused/dead code (#18351) 2018-12-23 17:31:32 +01:00
filestore_test.go cmd/swarm: hashes command (#19008) 2019-02-07 13:51:24 +01:00
filestore.go swarm/storage: fix HashExplore concurrency bug ethersphere#1211 (#19028) 2019-02-13 00:17:44 +01:00
hasherstore_test.go swarm: Chunk refactor (#17659) 2018-09-13 11:42:19 +02:00
hasherstore.go vendor, crypto, swarm: switch over to upstream sha3 package 2019-01-04 09:26:07 +02:00
ldbstore_test.go swarm: CI race detector test adjustments (#19017) 2019-02-08 17:07:11 +01:00
ldbstore.go swarm: fix network/stream data races (#19051) 2019-02-13 13:03:23 +01:00
localstore_test.go swarm: Debug API and HasChunks() API endpoint (#18980) 2019-02-07 15:49:19 +01:00
localstore.go swarm: Debug API and HasChunks() API endpoint (#18980) 2019-02-07 15:49:19 +01:00
memstore_test.go swarm: CI race detector test adjustments (#19017) 2019-02-08 17:07:11 +01:00
memstore.go swarm: Debug API and HasChunks() API endpoint (#18980) 2019-02-07 15:49:19 +01:00
netstore_test.go swarm/network, swarm/storage: Preserve opentracing contexts (#19022) 2019-02-08 16:57:48 +01:00
netstore.go swarm/network, swarm/storage: Preserve opentracing contexts (#19022) 2019-02-08 16:57:48 +01:00
pyramid.go swarm: bootnode-mode, new bootnodes and no p2p package discovery (#18498) 2019-01-24 12:02:18 +01: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_test.go swarm/storage: change Proximity function and add TestProximity test (#18379) 2019-01-03 06:17:59 +01:00
types.go swarm: Debug API and HasChunks() API endpoint (#18980) 2019-02-07 15:49:19 +01:00