Skip to content

Offline deletion tool that searches and collects stale blocks#1134

Merged
borshop merged 3 commits into
developfrom
feature/offline-gc-tool-squashed
Apr 30, 2015
Merged

Offline deletion tool that searches and collects stale blocks#1134
borshop merged 3 commits into
developfrom
feature/offline-gc-tool-squashed

Conversation

@kuenishi
Copy link
Copy Markdown
Contributor

Supercedes #1124 . Changes since #1124 are:

  • Offline delete tool:
    • Improved success count by checking delete oks
    • Add an option to support old Riak 1.4 key format
    • Add -mode(compile).
    • Add serious warning and interactive input for running Riak process
  • Select-gc tool:
    • Change name of options from/to to start/end
    • Remove -l option for leeway; use start/end
    • Add -mode(compile).

Also, for fallbacks, I'd rather expect hinted handoff works and then delete with this tool. This is to prevent this script from being more complex, from operational mistake and from further bugs.

@kuenishi kuenishi added this to the 2.1.0 milestone Apr 28, 2015
@kuenishi kuenishi modified the milestones: 2.2.0, 2.1.0 Apr 28, 2015
@shino
Copy link
Copy Markdown
Contributor

shino commented Apr 30, 2015

for fallbacks, I'd rather expect hinted handoff works and then delete with this tool. This is to prevent this script from being more complex

Agree. Then, it's prerequisite (or recommended at least) to finish hinted handoff before running the scripts.

Comment thread priv/tools/internal/offline_delete.erl Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Space between two options?

@kuenishi
Copy link
Copy Markdown
Contributor Author

Updated

@shino
Copy link
Copy Markdown
Contributor

shino commented Apr 30, 2015

Works nice 😄

borshop added a commit that referenced this pull request Apr 30, 2015
Offline deletion tool that searches and collects stale blocks

Reviewed-by: shino
@shino
Copy link
Copy Markdown
Contributor

shino commented Apr 30, 2015

@borshop merge

@borshop borshop merged commit 885f839 into develop Apr 30, 2015
@shino shino deleted the feature/offline-gc-tool-squashed branch April 30, 2015 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants