AcctIdx: fix infinite loop (#23806)

This commit is contained in:
Jeff Washington (jwash)
2022-03-21 10:58:36 -05:00
committed by GitHub
parent 15357480ec
commit 965ab9186d

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.