Handle cleaning of zero-lamport accounts w.r.t. Incremental Snapshots (#18870)

* Handle cleaning zero-lamport accounts

Handle cleaning zero-lamport accounts in slots higher than the last full
snapshot slot.  This is part of the Incremental Snapshot work.

Fixes #18825
This commit is contained in:
Brooks Prumo
2021-08-12 15:56:08 -05:00
committed by GitHub
parent 5085f10b4c
commit 5fb6b341c4
10 changed files with 627 additions and 119 deletions

View File

@ -59,7 +59,7 @@ fn test_shrink_and_clean() {
// let's dance.
for _ in 0..10 {
accounts.clean_accounts(None, false);
accounts.clean_accounts(None, false, None);
std::thread::sleep(std::time::Duration::from_millis(100));
}