Support out of band dumping of unrooted slots in AccountsDb (#17269)
* Accounts dumping logic * Add test for interaction between cache flush and remove_unrooted_slot() * Update comments * Rename * renaming * Add more comments * Renaming * Fixup test and bad check
This commit is contained in:
@ -576,7 +576,7 @@ impl RepairService {
|
||||
root_bank.clear_slot_signatures(*slot);
|
||||
|
||||
// Clear the accounts for this slot
|
||||
root_bank.remove_unrooted_slot(*slot);
|
||||
root_bank.remove_unrooted_slots(&[*slot]);
|
||||
|
||||
// Clear the slot-related data in blockstore. This will:
|
||||
// 1) Clear old shreds allowing new ones to be inserted
|
||||
|
Reference in New Issue
Block a user