solana/ledger-tool
Yueh-Hsuan Chiang 70c4f6ea96
Enable ledger-tool copy command to infer target_db shred storage type. (#27438)
#### Problem
The ledger-tool copy command currently assumes target_db uses the same
shred storage type as the source ledger.

#### Summary of Changes
This PR enables ledger-tool copy command to infer the target_db shred storage
type based on whether rocksdb or rocksdb_fifo exists under the target_db directory
(same way as how ledger-tool infers the shred storage type for the main db.)
If the ledger-tool is not able to infer the shred storage type of the target_db, then
the default level compaction will be used.
2022-09-13 10:27:58 -07:00
..
src Enable ledger-tool copy command to infer target_db shred storage type. (#27438) 2022-09-13 10:27:58 -07:00
tests Enable ledger-tool copy command to infer target_db shred storage type. (#27438) 2022-09-13 10:27:58 -07:00
.gitignore tmp dirs target to farf (#5079) 2019-07-12 18:28:42 -07:00
Cargo.toml Whickey/version v1.15 (#27739) 2022-09-13 09:06:15 -05:00