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

Add ledger-tool bigtable upload loop #26030

Merged
merged 2 commits into from
Jun 17, 2022

Conversation

CriesofCarrots
Copy link
Contributor

Problem

#24716 added a configurable limit to the number of blocks that solana_ledger::bigtable_upload::upload_confirmed_blocks checks at a time. However, it neglected to update solana-ledger-tool.

Summary of Changes

Add a loop to solana-ledger-tool bigtable upload so that the upload service iterates through the entire requested range, instead of stopping at the first limit.

Fixes #26023

@CriesofCarrots
Copy link
Contributor Author

cc @artburkart

@CriesofCarrots CriesofCarrots added the automerge Merge this Pull Request automatically once CI passes label Jun 17, 2022
@mergify mergify bot merged commit 2866ca4 into solana-labs:master Jun 17, 2022
mergify bot pushed a commit that referenced this pull request Jun 17, 2022
* Add ledger-tool bigtable upload loop

* Limit range on caller side, switch to while loop, and remove now-obsolete option

(cherry picked from commit 2866ca4)
mergify bot added a commit that referenced this pull request Jun 17, 2022
* Add ledger-tool bigtable upload loop

* Limit range on caller side, switch to while loop, and remove now-obsolete option

(cherry picked from commit 2866ca4)

Co-authored-by: Tyera Eulberg <tyera@solana.com>
@CriesofCarrots CriesofCarrots deleted the bt-upload-ledger-tool branch July 27, 2022 17:47
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.

2 participants