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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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.