storj/cmd
Kaloyan Raev e7f2ec7ddf satellite/audit: fix sanity check for verify-piece-hashes command
The VerifyPieceHashes method has a sanity check for the number pieces to
be removed from the pointer after the audit for verifying the piece
hashes.

This sanity check failed when we executed the command on the production
satellites because the Verify command removes Fails and PendingAudits
nodes from the audit report if piece_hashes_verified = false.

A new temporary UsedToVerifyPieceHashes flag is added to
audits.Verifier. It is set to true only by the verify-piece-hashes
command. If the flag is true then the Verify method will always include
Fails and PendingAudits nodes in the report.

Test case is added to cover this use case.

Change-Id: I2c7cb6b12029d52b2fc565365eee0826c3de6ee8
2020-10-07 17:17:48 +03:00
..
certificates private/version: minimal fix for tag-release.sh 2020-04-01 13:46:45 +00:00
identity all: add missing dots 2020-08-11 17:50:01 +03:00
inspector all: add missing dots 2020-08-11 17:50:01 +03:00
internal cmd/uplink: update CLI format (#3773) 2020-09-23 12:54:00 +02:00
satellite satellite/audit: fix sanity check for verify-piece-hashes command 2020-10-07 17:17:48 +03:00
segment-reaper satellite/metainfo: replace ScopedPath with metabase.SegmentLocation 2020-09-04 10:06:52 +00:00
storagenode storagenode: check db version before run 2020-09-30 10:58:09 +00:00
storagenode-updater cmd/storagenode-updater: fix service build tag, for platforms other than linux and windows 2020-10-01 15:32:28 +03:00
storj-admin all: fix dots 2020-07-16 14:58:28 +00:00
storj-sim cmd/storj-sim: cleanup gateway setup 2020-10-06 14:22:47 +00:00
uplink cmd/uplink: update CLI format (#3773) 2020-09-23 12:54:00 +02:00
versioncontrol private/version: minimal fix for tag-release.sh 2020-04-01 13:46:45 +00:00