-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blockstore: update next_slots during failure even if missing parent
clear_unconfirmed_slot can leave blockstore in an irrecoverable state if it panics. defer all panics until next_slots has been updated. additionally relax the constraint that the parent slot meta must exist, as it could have been cleaned up if outdated.
- Loading branch information
1 parent
070a5a3
commit e088ed3
Showing
1 changed file
with
43 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters