AcctIdx: fix infinite loop (#23806)
This commit is contained in:
parent
15357480ec
commit
965ab9186d
|
@ -1027,6 +1027,7 @@ impl<T: IndexValue> InMemAccountsIndex<T> {
|
||||||
Ok(_) => {
|
Ok(_) => {
|
||||||
// successfully written to disk
|
// successfully written to disk
|
||||||
flush_entries_updated_on_disk += 1;
|
flush_entries_updated_on_disk += 1;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
// disk needs to resize. This item did not get resized. Resize and try again.
|
// disk needs to resize. This item did not get resized. Resize and try again.
|
||||||
|
|
Loading…
Reference in New Issue