solana/ledger/src
Ryo Onodera 1f97b2365f
Avoid full-range compactions with periodic filtered b.g. ones (#16697)
* Update rocksdb to v0.16.0

* Promote the infrequent and important log to info!

* Force background compaction by ttl without manual compaction

* Fix test

* Support no compaction mode in test_ledger_cleanup_compaction

* Fix comment

* Make compaction_interval customizable

* Avoid major compaction with periodic filtering...

* Adress lazy_static, special cfs and range check

* Clean up a bit and add comment

* Add comment

* More comments...

* Config code cleanup

* Add comment

* Use .conflicts_with()

* Nullify unneeded delete_range ops for special CFs

* Some clean ups

* Clarify the locking intention

* Ensure special CFs' consistency with PurgeType::CompactionFilter

* Fix comment

* Fix bad copy paste

* Fix various types...

* Don't use tuples

* Add a unit test for compaction_filter

* Fix typo...

* Remove flag and just use new behavior always

* Fix wrong condition negation...

* Doc. about no set_last_purged_slot in purge_slots

* Write a test and fix off-by-one bug....

* Apply suggestions from code review

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>

* Follow up to github review suggestions

* Fix line-wrapping

* Fix conflict

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-05-28 16:42:56 +09:00
..
blockstore Avoid full-range compactions with periodic filtered b.g. ones (#16697) 2021-05-28 16:42:56 +09:00
ancestor_iterator.rs Persistent tower (#10718) 2020-09-19 14:03:54 +09:00
bank_forks_utils.rs Refactor bank_forks_utils::load() and some snapshot logic (#17492) 2021-05-27 12:00:27 -05:00
bigtable_upload.rs Rpc: enable getConfirmedBlock and getConfirmedTransaction to return confirmed (not yet finalized) data (#16142) 2021-03-26 16:47:35 -06:00
block_error.rs Lower blockstore processor error severity (#15578) 2021-03-01 14:57:37 -08:00
blockstore.rs Avoid full-range compactions with periodic filtered b.g. ones (#16697) 2021-05-28 16:42:56 +09:00
blockstore_db.rs Avoid full-range compactions with periodic filtered b.g. ones (#16697) 2021-05-28 16:42:56 +09:00
blockstore_meta.rs Purge slots greater than new last index (#16071) 2021-05-26 16:12:57 -07:00
blockstore_processor.rs Add block height to ConfirmedBlock structs (#17523) 2021-05-26 22:16:16 -06:00
builtins.rs Fix up upgradeable bpf loader activation 2020-12-16 06:36:14 +00:00
entry.rs Upgrade Rust to 1.52.0 (#17096) 2021-05-19 09:31:47 -05:00
erasure.rs expands number of erasure coding shreds in the last batch in slots (#16484) 2021-04-21 12:47:50 +00:00
genesis_utils.rs Initial solana-test-validator command-line program 2020-12-11 04:17:38 +00:00
leader_schedule.rs clippy 2021-04-18 20:55:02 -07:00
leader_schedule_cache.rs Simplify some pattern-matches (#16402) 2021-04-08 12:40:37 -06:00
leader_schedule_utils.rs rpc: add getSlotLeaders method (#16057) 2021-03-23 17:48:54 +00:00
lib.rs Upgrade Rust to 1.52.0 (#17096) 2021-05-19 09:31:47 -05:00
next_slots_iterator.rs
poh.rs Upgrade Rust to 1.52.0 (#17096) 2021-05-19 09:31:47 -05:00
rooted_slot_iterator.rs
shred.rs removes position field in coding-shred-header 2021-05-10 13:20:56 +00:00
sigverify_shreds.rs Fix clippy (#17214) 2021-05-13 17:51:36 -05:00
staking_utils.rs Account->AccountSharedData (#15691) 2021-03-09 15:06:07 -06:00