-
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: track when all primary-index data has been purged (#33668)
* Fix typo * Add Blockstore::highest_primary_index_slot * Add getter * Populate highest_primary_index_slot on boot * Wipe highest_primary_index_slot when surpassed by oldest_slot * Update highest_primary_index_slot in exact purge * Return indexes early if highest_primary_index_slot has been cleared * Limit read_transaction_status based on highest_primary_index_slot * Limit read_transaction_memos based on highest_primary_index_slot * Use highest_primary_index_slot to add early return to get_transaction_status_with_counter * Fixup tests * Use existing getter for highest_primary_index_slot Co-authored-by: steviez <[email protected]> --------- Co-authored-by: steviez <[email protected]>
- Loading branch information
1 parent
0ad5199
commit d286c00
Showing
2 changed files
with
79 additions
and
5 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
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