storj/satellite/audit
Yaroslav Vorobiov ee4361fe0d satellite/audit: fix segment stripes length calculation
GetRandomStripe function to randomly select a segment stripe to
audit was using `segment.EncryptedSize/segment.Redundancy.StripeSize()`.
Since integer divsion truncates it leads to skipping last stripe if
its size is less than stripe size. Use `Redundancy.StripeCount` to
get correct stripe count.

Change-Id: Ida09e035be30a21219ab3e1aedd66af8be707d1b
2021-09-01 13:25:20 +03:00
..
audit_test.go satellite/audit: move to segmentloop 2021-06-28 11:32:00 +00:00
chore.go satellite/audit: move to segmentloop 2021-06-28 11:32:00 +00:00
collector_test.go satellite/audit: move to segmentloop 2021-06-28 11:32:00 +00:00
collector.go satellite/audit: move to segmentloop 2021-06-28 11:32:00 +00:00
containment_test.go satellite/{audit, accounting}: use reputation store in tests 2021-07-28 13:21:55 -04:00
containment.go satellite/audit: migrate to new segment_pending_audit table 2021-06-28 13:19:49 +02:00
cryptosource.go all: fix dots 2020-07-16 14:58:28 +00:00
disqualification_test.go satellite/{audit, accounting}: use reputation store in tests 2021-07-28 13:21:55 -04:00
getshare_test.go satellite/audit: move to segmentloop 2021-06-28 11:32:00 +00:00
integration_test.go satellite/audits: migrate to metabase 2020-12-17 14:38:48 +02:00
queue_test.go satellite/audit: move to segmentloop 2021-06-28 11:32:00 +00:00
queue.go satellite/audits: migrate to metabase 2020-12-17 14:38:48 +02:00
reporter_test.go satellite/{reputation,audit,overlay}: replace overlay with reputation 2021-07-28 13:10:48 -04:00
reporter.go satellite/audit: fix metric reporting when fail to complete an audit 2021-08-31 17:02:30 +00:00
reservoir_test.go satellite/audit: fix reservoir sampling bias 2021-06-10 13:47:22 +03:00
reservoir.go satellite/audit: move to segmentloop 2021-06-28 11:32:00 +00:00
reverify_test.go satellite/audit: fix containment bug where nodes not removed 2021-08-20 14:48:27 +00:00
verifier_test.go satellite/audit: fix metric reporting when fail to complete an audit 2021-08-31 17:02:30 +00:00
verifier_unit_test.go satellite/audit: move to segmentloop 2021-06-28 11:32:00 +00:00
verifier.go satellite/audit: fix segment stripes length calculation 2021-09-01 13:25:20 +03:00
worker.go satellite/audit: change wording of audit worker error log 2021-08-20 13:27:16 +00:00