Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wacban authored Dec 13, 2024
1 parent 0ae4721 commit cf3174f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions neps/nep-0568.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ supporting smooth transitions without altering storage structures directly.
#### Integration with cold storage (archival nodes)

Cold storage uses the same mapping strategy to manage shard state during resharding:

* When state data is migrated from hot to cold storage, it retains the parent shard’s `ShardUId` prefix, ensuring consistency with the mapping strategy.
* While copying data for the last block of the epoch where resharding occured, the `DBCol::StateShardUIdMapping` column is copied into cold storage. This ensures that mappings are updated alongside the shard state data.
* These mappings are permanent in cold storage, aligning with its role in preserving historical state.
Expand Down

0 comments on commit cf3174f

Please sign in to comment.