-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
satellite/audit: do not fail or contain nodes for audited segments that are not piece-hash-verified #3161
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ghost
requested review from
navillasa and
thepaul
and removed request for
a team
October 2, 2019 18:46
ghost
removed their request for review
October 4, 2019 14:30
ethanadams
approved these changes
Oct 4, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. The defer
s seem a little awkward, but I still think it is easier to read than the alternatives.
mobyvb
added
the
Reviewer Can Merge
If all checks have passed, non-owner can merge PR
label
Oct 7, 2019
navillasa
approved these changes
Oct 7, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks right to me
bryanchriswhite
added a commit
that referenced
this pull request
Oct 9, 2019
…ing/track-monkit-func-names-used * storj/master: (62 commits) Fix typo in libuplink docs. (#3222) satellite/audit: fix audit panic (#3217) installer/windows: checkbox for opening SNOboard after installation (#3212) satellite/console: Removed 'user not found' message on password reset request (#3184) satellite/audit: add mutex to pieceHashesVerified map (#3214) satellite/overlay: do not include gracefully exiting nodes in node selection (#3211) cmd/storagenode: enable migration of configs of different types (#3189) satellite/gracefulexit: Add protobuf definitions for communication between storage node and satellite (#3201) satellite/metainfo: remove Iterate from service (#3196) satellite/overlay: remove overlay.IsVetted (#3203) Fix jenkins builds of storagenode console. (#3208) installer/windows: add to private Jenkins build (#3206) storagenode/signature: Reject uploads with a timestamp too far in the future (#3194) satellite/audit: Add piece hash verified to log messages (#3204) storagenode: embed the console into the binary and makefile (#3164) Update links to documentation (#3198) Storage Node Dashboard shortcut opens the SNOboard (#3171) satellite/accounting: implement tally as an observer (#2992) satellite/gracefulexit: add transfer queue for pieces (#3174) satellite/audit: do not fail or contain nodes for audited segments that are not piece-hash-verified (#3161) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
cla-signed
Request Code Review
Code review requested
Reviewer Can Merge
If all checks have passed, non-owner can merge PR
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What:
When a node is audited during verify or reverify, if the segment it is being audited for has not been piece hash verified (i.e. it was uploaded before #2690), we want to behave differently on an audit failure. We still want to remove the node from the segment, but we do not want to penalize it. We also do not want to add it into containment mode.
Why:
https://storjlabs.atlassian.net/browse/V3-2706
Please describe the tests:
Please describe the performance impact:
Code Review Checklist (to be filled out by reviewer)