-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Deprecate bz2/gzip/none/tar snapshot compression types #33484
Deprecate bz2/gzip/none/tar snapshot compression types #33484
Conversation
These options are now disallowed on the command line for solana-validator and solana-ledger-tool, which effectively means no more snapshots will be created with this types in normal usecases. However, support for reading the deprecated types is still in place.
Codecov Report
@@ Coverage Diff @@
## master #33484 +/- ##
=======================================
Coverage 81.7% 81.7%
=======================================
Files 802 802
Lines 217801 217792 -9
=======================================
+ Hits 178114 178130 +16
+ Misses 39687 39662 -25 |
As a quick sanity check, here is ouptut running with a now deprecated value:
It is worth calling out that it will be a hard error for using old type. If we want to be even gentler, we could still accepts |
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.
Works for me. Can you confirm this does the right/expecting thing on solana-validator
and solana-ledger-tool
? I'm wondering what the error messages are if specifying "none", since that'll affect some current node operators when the eventually upgrade.
Edit: Hah, you beat me to it!
I'd rather hard error, personally. I'm not sure there's a valid reason to use "none" anymore, given how much faster "zstd" is. But this is not a strongly held opinion. Minimally, we'll want this documented in release nodes/change logs. |
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.
Lgtm. I'd like to have mvines review as well before merging.
These options are now disallowed on the command line for solana-validator and solana-ledger-tool, which effectively means no more snapshots will be created with this types in normal usecases. However, support for reading the deprecated types is still in place. (cherry picked from commit 73e9e6d)
These options are now disallowed on the command line for solana-validator and solana-ledger-tool, which effectively means no more snapshots will be created with this types in normal usecases. However, support for reading the deprecated types is still in place. (cherry picked from commit 73e9e6d)
…rt of #33484) (#33492) Deprecate bz2/gzip/none/tar snapshot compression types (#33484) These options are now disallowed on the command line for solana-validator and solana-ledger-tool, which effectively means no more snapshots will be created with this types in normal usecases. However, support for reading the deprecated types is still in place. (cherry picked from commit 73e9e6d) Co-authored-by: steviez <[email protected]>
Problem
For our use cases, the compression types being removed are inferior and have caused us support burden.
Summary of Changes
These options are now disallowed on the command line for solana-validator and solana-ledger-tool, which effectively means no more snapshots will be created with this types in normal usecases. However, support for reading the deprecated types is still in place.
This PR is a follow-on to #33442 (which I will be closing); that PR ripped several things out whereas this PR has a more gradual deprecation approach in mind