solana/runtime/src
Yueh-Hsuan Chiang 634f4eb37d
(LedgerStore) Use different path for different blockstore storage type. (#23236)
#### Summary of Changes
To avoid mixing the use of different shred storage types, each shred storage type
will have its blockstore in a different directory.

This PR still keeps the RocksFifo setting hidden.  The default ShredStorageType and
blockstore directory are still RocksLevel and `rocksdb`.

Will follow-up with PRs on making FIFO option public in ledger-tool and validator.

#### Test Plan
* Added a new test to verify the existence of `rocksdb-fifo` directory when FIFO compaction is used.
* Updated existing test to verify the current setting still store ledger under `rocksdb` directory.
* Manually ran ledger_cleanup_test with both level and fifo compaction and verified the resulting ledger.
* Ran a validator with this PR.
2022-03-02 18:30:22 -08:00
..
accounts_db
bank Resized accounts must be rent exempt 2022-03-02 13:02:02 -08:00
serde_snapshot
account_info.rs assert on AcctInfo.store_id with cached store (#21952) 2022-02-15 15:22:36 -06:00
account_rent_state.rs Resized accounts must be rent exempt 2022-03-02 13:02:02 -08:00
accounts.rs Resized accounts must be rent exempt 2022-03-02 13:02:02 -08:00
accounts_background_service.rs
accounts_cache.rs
accounts_db.rs log hash and lamport result of calculate_accounts_hash_without_index (#23425) 2022-03-02 11:10:40 -06:00
accounts_hash.rs clippy (#23310) 2022-02-23 18:07:00 -06:00
accounts_index.rs acct idx comments (#23377) 2022-02-28 15:00:53 -06:00
accounts_index_storage.rs
accounts_update_notifier_interface.rs
active_stats.rs
ancestors.rs clarify that RollingBitField max is exclusive (#22947) 2022-02-07 13:40:31 -06:00
append_vec.rs fix memory ordering in append_vec (#23215) 2022-02-20 20:30:49 -06:00
bank.rs Resized accounts must be rent exempt 2022-03-02 13:02:02 -08:00
bank_client.rs
bank_forks.rs
bank_utils.rs
block_cost_limits.rs
blockhash_queue.rs
bucket_map_holder.rs AcctIdx: env var "SOLANA_TEST_ACCOUNTS_INDEX_MEMORY_LIMIT_MB" (#23194) 2022-02-22 09:40:12 -06:00
bucket_map_holder_stats.rs
builtins.rs followup safety checks for #23295 2022-02-24 17:50:58 -07:00
cache_hash_data.rs
cache_hash_data_stats.rs
commitment.rs
contains.rs
cost_model.rs 1. Persist to blockstore less frequently; 2022-02-08 16:18:23 -06:00
cost_tracker.rs Refactor new() and default() for CostTracker (#23267) 2022-02-22 10:44:23 -06:00
epoch_stakes.rs
execute_cost_table.rs 1. Persist to blockstore less frequently; 2022-02-08 16:18:23 -06:00
genesis_utils.rs Fix builtin handling on epoch boundaries (#23256) 2022-02-22 20:54:08 +08:00
hardened_unpack.rs (LedgerStore) Use different path for different blockstore storage type. (#23236) 2022-03-02 18:30:22 -08:00
in_mem_accounts_index.rs add comment (#23378) 2022-02-28 15:18:42 -06:00
inline_spl_associated_token_account.rs
inline_spl_token.rs accounts_index: Add SPL Token account indexing for token-2022 accounts (#23043) 2022-02-16 16:23:25 -08:00
inline_spl_token_2022.rs accounts_index: Add SPL Token account indexing for token-2022 accounts (#23043) 2022-02-16 16:23:25 -08:00
lib.rs trait for acct data with slot per item (#23285) 2022-02-23 15:22:29 -06:00
loader_utils.rs
message_processor.rs Add fees to tx-wide caps (#22081) 2022-02-11 16:23:16 -08:00
non_circulating_supply.rs
nonce_keyed_account.rs Replaces `KeyedAccount` by `BorrowedAccount` in `system_instruction_processor`. (#23217) 2022-02-19 02:06:33 +01:00
pubkey_bins.rs
read_only_accounts_cache.rs
rent_collector.rs tweak 2 rent tests to narrow epoch ranges (#23420) 2022-03-02 08:22:33 -06:00
secondary_index.rs
serde_snapshot.rs Cleanup use declaration (#22875) 2022-02-01 23:34:11 +00:00
shared_buffer_reader.rs
snapshot_archive_info.rs
snapshot_config.rs
snapshot_hash.rs
snapshot_package.rs
snapshot_utils.rs Do not keep oldest full snapshot 2022-02-21 17:10:31 -07:00
sorted_storages.rs Add rustfmt.toml and `cargo fmt` (#23238) 2022-02-19 13:32:29 +08:00
stake_delegations.rs
stake_history.rs Add rustfmt.toml and `cargo fmt` (#23238) 2022-02-19 13:32:29 +08:00
stake_weighted_timestamp.rs
stakes.rs
status_cache.rs
storable_accounts.rs slot per account in StorableAccounts (#23313) 2022-02-24 10:34:38 -06:00
system_instruction_processor.rs Replaces `KeyedAccount` by `BorrowedAccount` in `system_instruction_processor`. (#23217) 2022-02-19 02:06:33 +01:00
transaction_batch.rs
transaction_cost_metrics_sender.rs
vote_account.rs
vote_parser.rs Add rustfmt.toml and `cargo fmt` (#23238) 2022-02-19 13:32:29 +08:00
vote_sender_types.rs
vote_transaction.rs
waitable_condvar.rs