-
Notifications
You must be signed in to change notification settings - Fork 890
Add --log-messages-bytes-limit arg to ledger-tool #854
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 --log-messages-bytes-limit arg to ledger-tool #854
Conversation
939ccd5 to
ba2df18
Compare
ba2df18 to
5456045
Compare
steviez
left a comment
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.
Change looks fine, argument is identical to the one in validator bin which is ideal. One of these days we'll figure out a better solution to have all of those single-sourced. Added the CI label.
This should be backported to v1.17 and v1.18, because we need it for ledger snapshots created with v1.17.
Why exactly ? If this change lands in master, why can't you just use the tip of master ?
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #854 +/- ##
=========================================
- Coverage 81.8% 81.8% -0.1%
=========================================
Files 851 851
Lines 231744 231744
=========================================
- Hits 189692 189687 -5
- Misses 42052 42057 +5 |
|
@steviez I am just following the guidelines from solana-bigtable README. I suppose it is needed to allow replaying the ledger with a version similar to the one when the ledger has been archived. But it will still be a problem for all intermediate |
Thanks for the link; while using the same version as what is listed in
Exactly, we can't go back in time and get this commit on all of the old releases. While I mentioned that v1.18 and master should™️ work, cherry-picking the commit on top of the exact tagged commit from the In general, we try to limit backports to items that are deemed "critical" for the cluster (bug fixes, performance regressions, etc) which is why I was opposed to the BP's. We are obviously open to exceptions, but in this case, I think cherry-picking a single commit seems like a pretty reasonable alternative for you |
steviez
left a comment
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.
Thanks for the contribution; forgot to hit a button that would allow a few more CI steps to start, letting those go now. Will merge on all greens
Problem
agave-ledger-toolsupports--geyser-plugin-configoption, but not--log-messages-bytes-limit, which can be useful for replaying ledger (usingagave-ledger-tool verify, for example) to retrieve truncated logs for txs.Summary of Changes
Added
--log-messages-bytes-limitto allagave-ledger-toolsupporting--geyser-plugin-config.This should be backported to v1.17 and v1.18, because we need it for ledger snapshots created with v1.17.