Skip to content
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

Make bigtable delete-slots actually usable #20037

Merged
merged 1 commit into from
Sep 20, 2021

Conversation

ryoqun
Copy link
Member

@ryoqun ryoqun commented Sep 20, 2021

Problem

seems last-minute review adjustments made solana-ledger-tool bigtable delete-slots not workable at all (with/without --force)

Summary of Changes

context: #19931

@@ -439,7 +439,7 @@ pub fn bigtable_process_command(ledger_path: &Path, matches: &ArgMatches<'_>) {
}
("delete-slots", Some(arg_matches)) => {
let slots = values_t_or_exit!(arg_matches, "slots", Slot);
let dry_run = !value_t_or_exit!(arg_matches, "force", bool);
Copy link
Member Author

Choose a reason for hiding this comment

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

no way to go past this ..._or_exit!() given this:

.takes_value(false)

Copy link
Contributor

Choose a reason for hiding this comment

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

Great catch

Copy link
Member

Choose a reason for hiding this comment

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

Sorry about that lack of testing

@ryoqun ryoqun added the automerge Merge this Pull Request automatically once CI passes label Sep 20, 2021
@codecov
Copy link

codecov bot commented Sep 20, 2021

Codecov Report

Merging #20037 (690fcc8) into master (4675fa6) will increase coverage by 0.2%.
The diff coverage is 84.4%.

@@            Coverage Diff            @@
##           master   #20037     +/-   ##
=========================================
+ Coverage    82.6%    82.8%   +0.2%     
=========================================
  Files         478      487      +9     
  Lines      133547   134800   +1253     
=========================================
+ Hits       110369   111680   +1311     
+ Misses      23178    23120     -58     

@mergify mergify bot merged commit 22f45dc into solana-labs:master Sep 20, 2021
mergify bot pushed a commit that referenced this pull request Sep 20, 2021
mergify bot pushed a commit that referenced this pull request Sep 20, 2021
jeffwashington pushed a commit to jeffwashington/solana that referenced this pull request Sep 20, 2021
mergify bot added a commit that referenced this pull request Sep 20, 2021
(cherry picked from commit 22f45dc)

Co-authored-by: Ryo Onodera <[email protected]>
mergify bot added a commit that referenced this pull request Sep 21, 2021
(cherry picked from commit 22f45dc)

Co-authored-by: Ryo Onodera <[email protected]>
dankelleher pushed a commit to identity-com/solana that referenced this pull request Nov 24, 2021
frits-metalogix added a commit to identity-com/solana that referenced this pull request Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants