storj/satellite/audit
Moby von Briesen 5d21e85529 satellite/audit/queue: Separate audit queue into two separate structs.
* The audit worker wants to get items from the queue and process them.
* The audit chore wants to create new queues and swap them in when the
old queue has been processed.

This change adds a "Queues" struct which handles the concurrency
issues around the worker fetching a queue and the chore swapping a new
queue in. It simplifies the logic of the "Queue" struct to its bare
bones, so that it behaves like a normal queue with no need to understand
the details of swapping and worker/chore interactions.

Change-Id: Ic3689ede97a528e7590e98338cedddfa51794e1b
2020-08-31 20:51:25 +00:00
..
chore.go satellite/audit/queue: Separate audit queue into two separate structs. 2020-08-31 20:51:25 +00:00
containment_test.go {satellite/audit, private/testplanet}: remove ErrAlreadyExists, run 2 audit workers in testplanet 2020-06-30 18:00:07 +00:00
containment.go all: add missing dots 2020-08-11 17:50:01 +03:00
cryptosource.go all: fix dots 2020-07-16 14:58:28 +00:00
disqualification_test.go satellite: simplify tests 2020-08-28 22:28:04 +00:00
integration_test.go satellite/audit/queue: Separate audit queue into two separate structs. 2020-08-31 20:51:25 +00:00
pathcollector_test.go satellite: fix string(int) conversions 2020-06-12 06:41:34 +00:00
pathcollector.go all: fix dots 2020-07-16 14:58:28 +00:00
queue_test.go satellite/audit/queue: Separate audit queue into two separate structs. 2020-08-31 20:51:25 +00:00
queue.go satellite/audit/queue: Separate audit queue into two separate structs. 2020-08-31 20:51:25 +00:00
reporter_test.go satellite: replace references to Suspended with UnknownAuditSuspended 2020-06-23 14:19:22 +00:00
reporter.go all: fix dots 2020-07-16 14:58:28 +00:00
reservoir.go all: fix dots 2020-07-16 14:58:28 +00:00
reverify_test.go satellite/audit/queue: Separate audit queue into two separate structs. 2020-08-31 20:51:25 +00:00
verifier_test.go satellite/audit/queue: Separate audit queue into two separate structs. 2020-08-31 20:51:25 +00:00
verifier_unit_test.go satellite/audit: depend less on details of some error message 2020-06-05 10:39:05 -06:00
verifier.go satellite/orders: use metabase types as arguments 2020-08-28 15:52:37 +03:00
worker.go satellite/audit/queue: Separate audit queue into two separate structs. 2020-08-31 20:51:25 +00:00