storj/satellite/audit
Andrew Harding 590d44301c satellite/audit: implement rangedloop observer
This change implements the ranged loop observer to replace the audit
chore that builds the audit queue.

The strategy employed by this change is to use a collector for each
segment range to  build separate per-node segment reservoirs that are
then merge them during the join step.

In previous observer migrations, there were only a handful of tests so
the strategy was to duplicate them. In this package, there are dozens
of tests that utilize the chore. To reduce code churn and maintenance
burden until the chore is removed, this change introduces a helper that
runs tests under both the chore and observer, providing a pair of
functions that can be used to pause or run the queueing function.

https://github.com/storj/storj/issues/5232

Change-Id: I8bb4b4e55cf98b1aac9f26307e3a9a355cb3f506
2023-01-03 08:52:01 -07:00
..
audit_test.go satellite/audit: implement rangedloop observer 2023-01-03 08:52:01 -07:00
chore.go satellite/audit: prevent accessing unset reservoir segments 2022-12-14 17:43:17 -07:00
collector_test.go satellite/audit: prevent accessing unset reservoir segments 2022-12-14 17:43:17 -07:00
collector.go satellite/audit: implement rangedloop observer 2023-01-03 08:52:01 -07:00
common_test.go satellite/audit: implement rangedloop observer 2023-01-03 08:52:01 -07:00
containment_test.go satellite/audit: newContainment->containment 2022-12-16 17:59:52 +00:00
containment.go satellite/audit: newContainment->containment 2022-12-16 17:59:52 +00:00
cryptosource.go all: fix dots 2020-07-16 14:58:28 +00:00
disqualification_test.go satellite/audit: split out auditor process 2022-12-16 12:44:32 -06:00
getshare_test.go satellite/audit: implement rangedloop observer 2023-01-03 08:52:01 -07:00
integration_test.go satellite/audit: implement rangedloop observer 2023-01-03 08:52:01 -07:00
observer.go satellite/audit: implement rangedloop observer 2023-01-03 08:52:01 -07:00
pieces_test.go satellite/repair: update audit records during repair 2021-09-24 00:48:13 +00:00
pieces.go satellite/repair: move over audit.Pieces 2022-09-22 16:43:03 +00:00
queue.go satellite/audit: Split Reverifier from Verifier 2022-12-05 09:55:49 -06:00
reporter_test.go satellite/audit: split out auditor process 2022-12-16 12:44:32 -06:00
reporter.go satellite/audit: newContainment->containment 2022-12-16 17:59:52 +00:00
reservoir_test.go satellite/audit: merge support for reservoirs 2022-12-16 15:27:55 +00:00
reservoir.go satellite/audit: merge support for reservoirs 2022-12-16 15:27:55 +00:00
reverifier_test.go satellite/audit: change signature of ReverifyPiece 2022-12-07 18:32:42 +00:00
reverifier.go satellite/audit: Begin using piecewise reverifications 2022-12-16 14:21:13 +00:00
reverify_test.go satellite/audit: implement rangedloop observer 2023-01-03 08:52:01 -07:00
reverifyworker.go satellite/audit: add audit.ReverifyWorker 2022-12-12 11:57:08 +00:00
verifier_test.go satellite/audit: implement rangedloop observer 2023-01-03 08:52:01 -07:00
verifier_unit_test.go satellite/audit: Begin using piecewise reverifications 2022-12-16 14:21:13 +00:00
verifier.go satellite/audit: newContainment->containment 2022-12-16 17:59:52 +00:00
worker.go satellite/audit: implement rangedloop observer 2023-01-03 08:52:01 -07:00