storj/satellite
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
..
abtesting console/abTesting: add support for AB testing 2022-10-27 10:57:12 +00:00
accounting satellite/accounting/tally: fix looping over all buckets 2022-12-07 10:32:23 +00:00
admin satellite/admin: add endpoint to freeze/unfreeze user 2022-12-19 18:11:05 +00:00
analytics satellite/{analytics, web}: segment ui error tracking implemented 2022-12-13 18:11:53 +00:00
attribution {cmd/satellite/reports, satellite/attribution}: type and variable name adjustments 2022-04-26 20:12:38 +00:00
audit satellite/audit: implement rangedloop observer 2023-01-03 08:52:01 -07:00
buckets satellite/accounting/tally: fix looping over all buckets 2022-12-07 10:32:23 +00:00
compensation all: reformat comments as required by gofmt 1.19 2022-08-10 18:24:55 +00:00
console console/userinfo: implement get userinfo 2022-12-23 21:03:54 +00:00
contact satellite/contact: emit evenkit events in case of node checkin 2022-11-14 10:38:58 +00:00
gc satellite/gc/sender: avoid sending BF to disqualified and exited nodes 2022-11-29 09:56:32 +00:00
geoip satellite/geoip: update node check-in to associate a country code 2021-11-10 16:44:41 +01:00
gracefulexit satellite/gracefulexit: fix typo in comment 2022-12-23 07:11:35 -07:00
inspector {satellite/metabase, satellite/metainfo, satellite/inspector} : Use metabase.GetObjectLastCommitted instead metabase.GetObjectExactVersion 2022-09-08 07:27:22 +00:00
internalpb all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
mailservice satellite/consoleweb: fix flaky TestAuth tests 2022-08-04 19:06:07 +00:00
metabase satellite/metabase/rangedloop: measure observer duration (#5350) 2022-12-21 21:58:08 +01:00
metainfo satellite/metabase: handle copies with GetStreamPieceCountByNodeID 2022-12-13 12:32:56 +01:00
metrics satellite/metabase/rangedloop: measure observer duration (#5350) 2022-12-21 21:58:08 +01:00
nodeapiversion satellite/nodeapiversion: new table for tracking node api usage 2020-07-09 15:02:25 +00:00
nodeevents satellite/nodeevents: validate emails before notifying 2022-12-06 09:59:45 -05:00
nodeselection/uploadselection satellite/repairer: handle excluded countries 2022-03-14 10:59:36 -04:00
nodestats satellite: return interval_end_time in DailyStorageUsage endpoint 2022-07-27 18:24:27 +00:00
oidc all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
orders satellite/orders: decrease order expiration time to 24hours 2022-11-21 14:52:32 +00:00
overlay satellite/overlaycache: fix typo in UpdateCheckIn request 2022-12-14 22:21:45 +01:00
payments satellite/console: add triggerAttemptPaymentIfFrozen 2022-12-22 18:23:37 +00:00
repair satellite/audit: teach Reporter about piecewise audits 2022-12-12 11:28:02 +00:00
reputation satellite/audit: split out auditor process 2022-12-16 12:44:32 -06:00
revocation satellite/satellitedb: move tests to their domains 2021-02-19 17:29:15 +02:00
rewards satellite/rewards: adding SeaweedFS to partners list (#4230) 2021-10-19 21:30:31 +02:00
satellitedb satellite/{console,satellitedb}: add account freeze service 2022-12-16 22:24:58 +00:00
snopayouts all: fix error naming 2021-04-29 15:38:21 +03:00
admin.go satellite/admin: add endpoint to freeze/unfreeze user 2022-12-19 18:11:05 +00:00
api.go console/userinfo: implement get userinfo 2022-12-23 21:03:54 +00:00
auditor.go satellite/audit: split out auditor process 2022-12-16 12:44:32 -06:00
configlock_test.go all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
core.go satellite/audit: implement rangedloop observer 2023-01-03 08:52:01 -07:00
gc-bf.go satellite/gc: Optionally run the GC bloomfilter process once, instead of in a loop 2022-11-01 18:19:40 +00:00
gc.go satellite/gc/sender: new service to send retain filters 2022-09-20 11:49:40 +00:00
peer.go console/userinfo: stub userinfo endpoint 2022-12-20 06:10:08 +00:00
rangedloop.go satellite/audit: implement rangedloop observer 2023-01-03 08:52:01 -07:00
repairer.go satellite/audit: newContainment->containment 2022-12-16 17:59:52 +00:00