storj/satellite/metainfo/piecedeletion
Isaac Hess 13bf0c62ab satellite/pieces: Fix race in piece deleter
There was a race in the test code for piece deleter, which made it
possible to broadcast on the condition variable before anyone was
waiting. This change fixes that and has Wait take a context so it times
out with the context.

Change-Id: Ia4f77a7b7d2287d5ab1d7ba541caeb1ba036dba3
2020-04-28 10:50:20 -06:00
..
combiner_bench_test.go satellite/metainfo/piecedeletion: add Combiner 2020-03-16 17:13:26 +00:00
combiner_test.go satellite/metainfo/piecedeletion: add Combiner 2020-03-16 17:13:26 +00:00
combiner.go satellite/metainfo/piecedeletion: try to make batches larger 2020-04-22 18:43:29 +00:00
dialer_test.go satellite/metainfo/piecedeletion: add Dialer 2020-03-16 23:36:01 +00:00
dialer.go satellite/metainfo/piecedeletion: try to make batches larger 2020-04-22 18:43:29 +00:00
doc.go satellite/metainfo/piecedeletion: add Service 2020-03-18 14:50:08 +00:00
handler_test.go satellite/metainfo/piecedeletion: add Combiner 2020-03-16 17:13:26 +00:00
handler.go satellite/metainfo/piecedeletion: add Combiner 2020-03-16 17:13:26 +00:00
queue_test.go satellite/metainfo/piecedeletion: try to make batches larger 2020-04-22 18:43:29 +00:00
queue.go satellite/metainfo/piecedeletion: try to make batches larger 2020-04-22 18:43:29 +00:00
service_test.go satellite/pieces: Fix race in piece deleter 2020-04-28 10:50:20 -06:00
service.go satellite/metainfo/piecedeletion: handle zero case 2020-04-16 13:00:32 +03:00