solana-with-rpc-optimizations/ledger/src
Yueh-Hsuan Chiang 3aa49e2c69
Keep all erasure coding shreds even on successful recovery (#20968) (#21052)
Problem
Blockstore currently removes erasure shreds if the data shreds are
successfully recovered on insert, which is an issue if we want to
serve coding shreds over repair.

Summary of Changes
This diff keeps all coding shreds even on successful recovery and
changes change the signature of prev_inserted_codes to immutable
reference to ensure its immunity.

Fixes #20968
2021-11-16 11:26:34 -08:00
..
blockstore Blockstore test cleanup (#19656) 2021-09-10 07:33:08 -05:00
ancestor_iterator.rs Blockstore test cleanup (#19656) 2021-09-10 07:33:08 -05:00
bank_forks_utils.rs add filler accounts to bloat validator and predict failure (#20491) 2021-10-11 12:46:27 -05:00
bigtable_delete.rs Add `delete` subcommand to `ledger-tool bigtable` (#19931) 2021-09-16 23:37:45 +00: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
bigtable_upload_service.rs Create solana-poh and move remaining rpc modules to solana-rpc (#17698) 2021-06-04 09:23:06 -06:00
block_error.rs Lower blockstore processor error severity (#15578) 2021-03-01 14:57:37 -08:00
blockstore.rs Keep all erasure coding shreds even on successful recovery (#20968) (#21052) 2021-11-16 11:26:34 -08:00
blockstore_db.rs Populate memo in blockstore signatures-for-address (#19515) 2021-09-03 00:28:52 -06:00
blockstore_meta.rs adds methods to obtain data/coding shreds indices from ErasureMeta 2021-11-13 17:08:05 +00:00
blockstore_processor.rs Clean up sanitized tx creation for tests (#21006) 2021-10-27 18:09:16 +01:00
builtins.rs Disable JIT compiler on unsupported platforms (#21215) 2021-11-09 11:31:21 +00:00
erasure.rs removes Default implementaion of ErasureConfig 2021-11-13 17:08:05 +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 Blockstore test cleanup (#19656) 2021-09-10 07:33:08 -05:00
leader_schedule_utils.rs implements copy-on-write for staked-nodes (#19090) 2021-08-10 12:59:12 +00:00
lib.rs - move cost tracker into bank, so each bank has its own cost tracker; (#20527) 2021-10-12 08:51:33 -05:00
next_slots_iterator.rs Blockstore test cleanup (#19656) 2021-09-10 07:33:08 -05:00
rooted_slot_iterator.rs Blockstore test cleanup (#19656) 2021-09-10 07:33:08 -05:00
shred.rs removes redundant args from Shredder::try_recovery (#21226) 2021-11-10 21:19:03 +00:00
sigverify_shreds.rs Resolve nightly-2021-10-05 clippy complaints 2021-10-06 10:37:58 -07:00
staking_utils.rs removes unused code from staking_utils (#19189) 2021-08-13 02:42:41 +00:00