storj/satellite/audit
Michal Niewrzal 06f4aede9b satellite/audit: use NodeAlias instead pure NodeID
This is first attempt to use AliasPieces inastead Pieces with
segments/range loop. So far we were always using Pieces
which are always converted from AliasPieces for easy use.
Side effect is that using NodeID with loop observers is heavy
e.g. we are using maps which behaves slower with NodeIDs.

We are starting with audit observer because it's easy to change
it as in feact it doesn't need access to real NodeID at all. We just
need to reference node in some way and this way is NodeAlias.

Results of BenchmarkRemoteSegment:
name                                         old time/op    new time/op    delta
RemoteSegment/Cockroach/multiple_segments-8    1.79µs ± 6%    0.03µs ± 4%  -98.29%  (p=0.008 n=5+5)

name                                         old alloc/op   new alloc/op   delta
RemoteSegment/Cockroach/multiple_segments-8     0.00B          0.00B          ~     (all equal)

name                                         old allocs/op  new allocs/op  delta
RemoteSegment/Cockroach/multiple_segments-8      0.00           0.00          ~     (all equal)

Change-Id: Ib7fc87e568a4d3a9af27b5e3b644ea68ab6db7aa
2023-02-21 15:31:59 +00: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: use NodeAlias instead pure NodeID 2023-02-21 15:31:59 +00:00
collector.go satellite/audit: use NodeAlias instead pure NodeID 2023-02-21 15:31:59 +00:00
common_test.go satellite/audit: implement rangedloop observer 2023-01-03 08:52:01 -07:00
containment_test.go satellite/audit: test delay before Reverify 2023-02-15 23:16:23 +00:00
containment.go satellite/audit: add GetAllContainedNodes method to ReverifyQueue 2023-02-02 00:39:29 +00:00
cryptosource.go all: fix dots 2020-07-16 14:58:28 +00:00
disqualification_test.go satellite/metainfo: support desired node number for download object/segment 2023-02-13 13:57:48 +00: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: use NodeAlias instead pure NodeID 2023-02-21 15:31:59 +00: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: add GetAllContainedNodes method to ReverifyQueue 2023-02-02 00:39:29 +00: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_chore_test.go satellite/audit: add ContainmentSyncChore 2023-02-07 01:18:49 +00:00
reverify_chore.go satellite/audit: add ContainmentSyncChore 2023-02-07 01:18:49 +00:00
reverify_test.go satellite/audit: test delay before Reverify 2023-02-15 23:16:23 +00:00
reverifyworker.go satellite/audit: add audit.ReverifyWorker 2022-12-12 11:57:08 +00:00
verifier_test.go satellite/audit: test delay before Reverify 2023-02-15 23:16:23 +00: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: add ContainmentSyncChore 2023-02-07 01:18:49 +00:00