solana/ledger/src
Yueh-Hsuan Chiang 6d070cee08
Fix the boundary inconsistency between delete_file_in_range and delete_range (#27201)
#### Problem
RocksDB's delete_range applies to [from, to) while delete_file_in_range
applies to [from, to] by default, and the rust-rocksdb api does not include
the option to make delete_file_in_range apply to [from, to).  Such inconsistency
might cause `blockstore::run_purge` to produce an inconsistent result as it
invokes both delete_range and delete_file_in_range.

#### Summary of Changes
This PR makes all our purge / delete related functions to be inclusive
on both starting and ending slots.
2022-08-30 21:38:54 -07:00
..
blockstore Fix the boundary inconsistency between delete_file_in_range and delete_range (#27201) 2022-08-30 21:38:54 -07:00
shred Minor shred constant cleanup (#27472) 2022-08-30 18:53:05 -07:00
ancestor_iterator.rs uses Option<Slot> for SlotMeta.parent_slot (#21808) 2021-12-14 18:57:11 +00:00
bank_forks_utils.rs Refactor: Add `RuntimeConfig` field to Bank (#26946) 2022-08-05 20:49:00 +01:00
bigtable_delete.rs
bigtable_upload.rs Rust v1.63 (#27303) 2022-08-22 18:01:03 -07:00
bigtable_upload_service.rs Standardize thread names 2022-08-20 07:49:39 -07:00
block_error.rs Fix derive_partial_eq_without_eq clippy lint 2022-05-22 22:22:21 -07:00
blockstore.rs Fix the boundary inconsistency between delete_file_in_range and delete_range (#27201) 2022-08-30 21:38:54 -07:00
blockstore_db.rs Fix the boundary inconsistency between delete_file_in_range and delete_range (#27201) 2022-08-30 21:38:54 -07:00
blockstore_meta.rs Rust v1.63 (#27303) 2022-08-22 18:01:03 -07:00
blockstore_metrics.rs Create const &strs for rocksdb perf write operation names (#26352) 2022-07-13 00:05:26 +08:00
blockstore_options.rs Allow ledger tool to automatically detect the shred compaction style (#26182) 2022-07-19 01:19:17 +08:00
blockstore_processor.rs Attempt to skip redundant startup account verification (#26999) 2022-08-25 09:29:57 -07:00
builtins.rs Skip adding builtins if they will be removed (#23233) 2022-02-18 18:36:59 -08:00
genesis_utils.rs
leader_schedule.rs Fix derive_partial_eq_without_eq clippy lint 2022-05-22 22:22:21 -07:00
leader_schedule_cache.rs Make test_next_leader_slot_next_epoch() aware of stake minimum delegation (#24660) 2022-04-26 08:31:06 -04:00
leader_schedule_utils.rs retransmit consecutive leader blocks (#22157) 2022-01-04 00:24:16 -08:00
lib.rs Remove runtime dependency from solana-transaction-status (#26930) 2022-08-05 00:20:27 -06:00
next_slots_iterator.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
rooted_slot_iterator.rs Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
shred.rs coalesce entries in recv_slot_entries to target byte count (#27321) 2022-08-25 13:51:55 -07:00
shredder.rs Minor shred constant cleanup (#27472) 2022-08-30 18:53:05 -07:00
sigverify_shreds.rs Standardize thread names 2022-08-20 07:49:39 -07:00
slot_stats.rs track fec set turbine stats (#23989) 2022-04-04 14:44:21 -07:00
staking_utils.rs checks account owner when initializing a vote-account (#25018) 2022-05-06 16:22:49 +00:00
token_balances.rs Remove runtime dependency from solana-transaction-status (#26930) 2022-08-05 00:20:27 -06:00