solana-with-rpc-optimizations/core
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
..
benches bench get_retransmit_peers (#23292) 2022-03-01 19:10:29 -08:00
src Make ShredStorageType::RocksLevel public (#23272) 2022-03-03 12:43:58 -08:00
tests unittest for bind two consecutive ports (#23008) 2022-03-02 09:10:29 -06:00
.gitignore
Cargo.toml chore: bump lru from 0.7.2 to 0.7.3 (#23462) 2022-03-03 12:01:49 -07:00
build.rs