AcctIdx: fix infinite loop (#23806) (#23816)

(cherry picked from commit 965ab9186d)

Co-authored-by: Jeff Washington (jwash) <wash678@gmail.com>
This commit is contained in:
mergify[bot]
2022-04-11 09:54:11 -05:00
committed by GitHub
parent a628034eb5
commit 623ac6567b

View File

@ -1027,6 +1027,7 @@ impl<T: IndexValue> InMemAccountsIndex<T> {
Ok(_) => {
// successfully written to disk
flush_entries_updated_on_disk += 1;
break;
}
Err(err) => {
// disk needs to resize. This item did not get resized. Resize and try again.