solana/local-cluster
Yueh-Hsuan Chiang 62d2a4cd88
Make ShredStorageType::RocksLevel public (#23272)
#### Summary of Changes
This PR adds two hidden arguments to the validator that allow users to use RocksDB's FIFO compaction for storing shreds.

        --shred-storage <SHRED_STORAGE>
            EXPERIMENTAL: Controls how RocksDB compacts shreds.  *WARNING*: You will lose your ledger 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 ledger store. [default: level]  [possible values: level, fifo]

        --shred-storage-size <SHRED_STORAGE_SIZE_BYTES>
            The shred storage size in bytes. The suggested value is 50% of your ledger storage size in bytes. [default:
            268435456000]
2022-03-03 12:43:58 -08:00
..
src Make ShredStorageType::RocksLevel public (#23272) 2022-03-03 12:43:58 -08:00
tests Fix flaky optimistic confirmation tests (#23178) 2022-02-16 16:13:58 -05:00
.gitignore 🍢banking-bench/, genesis-programs/ and local-cluster/ (#6920) 2019-11-12 22:20:48 -07:00
Cargo.toml Bump version to 1.10.1 (#23453) 2022-03-02 13:47:01 -06:00