storj/storagenode/gracefulexit
Ethan 5445d595c0 storagenode/gracefulexit: Wait for the worker delete and transfer goroutines to finish before completing the exit
A failed test showed the same piece being deleted twice. This happens if the graceful exit completes before a previous piece deletion finishes. This change adds a "wait" on the limiter before executing the delete all step when GE is done.

Change-Id: I1c8c49d1e501c2728c80d4224a4854e742be27da
2020-08-19 14:20:26 +00:00
..
blobscleaner.go all: fix error checking 2020-07-16 19:13:14 +03:00
chore_test.go private/testplanet: expose storagenode and satellite Config 2020-03-27 17:01:25 +02:00
chore.go storagenode/gracefulexit: revalidate existing pieces 2020-05-28 09:50:14 -05:00
common.go all: fix dots 2020-07-16 14:58:28 +00:00
db_test.go all: fix dots 2020-07-16 14:58:28 +00:00
endpoint_test.go satellite: remove some unnecessary UTC() calls 2020-03-13 13:49:44 +00:00
endpoint.go all: fix comments 2020-07-16 19:13:14 +03:00
worker_test.go storagenode/gracefulexit: revalidate existing pieces 2020-05-28 09:50:14 -05:00
worker.go storagenode/gracefulexit: Wait for the worker delete and transfer goroutines to finish before completing the exit 2020-08-19 14:20:26 +00:00