forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TieredStorage] Make IndexBlock persist u32 offsets (solana-labs#34133)
In TieredStorage, we want to make AccountOffset and IndexOffset u32 instead of usize just like OwnerOffset. However, we need to first change what we persist in the storage. Currently, IndexBlock persists offsets as u64 instead of u32. This PR makes IndexBlock persist u32 offsets. Existing test cases.
- Loading branch information
1 parent
7798aae
commit 138371b
Showing
3 changed files
with
24 additions
and
20 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
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