-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip invalid state manifests in GC bucket and add warning log
See #827 Logged information includes: - Key in GC bucket - UUID (in manifest) - CS bucket and key (also in manifest) It's noteworthy that if riak_cs_delete_fsm replies ok with the same total blocks and deleted blocks to riak_cs_gc_worker, then the worker attempt to delete manifest entry in twop_set. Doing it before deleting manfiests and blocks completely poses orphan manifests/blocks. In this PR, riak_cs_delete_fsm replies with total blocks = 1 and deleted_blocks = 0.
- Loading branch information
Showing
2 changed files
with
47 additions
and
24 deletions.
There are no files selected for viewing
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
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