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

Disallow --rocksdb-shred-compaction fifo in the validator #3451

Merged
merged 3 commits into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Release channels have their own copy of this changelog:
* removed the unreleased `redelegate` instruction processor and CLI commands (#2213)
* Banks-client:
* relax functions to use `&self` instead of `&mut self` (#2591)
* `agave-validator`:
* Remove the deprecated value of `fifo` for `--rocksdb-shred-compaction` (#3451)
* Changes
* SDK:
* removed the `respan` macro. This was marked as "internal use only" and was no longer used internally.
Expand Down
6 changes: 2 additions & 4 deletions validator/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -666,14 +666,12 @@ pub fn app<'a>(version: &'a str, default_args: &'a DefaultArgs) -> App<'a, 'a> {
.long("rocksdb-shred-compaction")
.value_name("ROCKSDB_COMPACTION_STYLE")
.takes_value(true)
.possible_values(&["level", "fifo"])
.possible_values(&["level"])
.default_value(&default_args.rocksdb_shred_compaction)
.help(
"Controls how RocksDB compacts shreds. *WARNING*: You will lose your \
Blockstore data when you switch between options. Possible values are: \
'level': stores shreds using RocksDB's default (level) compaction. \
'fifo': stores shreds under RocksDB's FIFO compaction. This option is more \
efficient on disk-write-bytes of the Blockstore.",
'level': stores shreds using RocksDB's default (level) compaction.",
),
)
.arg(
Expand Down
Loading