Blocker for
#1021
Current situation
Outside of tycho_core::storage, ShardStateWriter is currently used directly to write persistent state. ShardStateWriter operates on a concrete CellsDb and by default will only persist the top part of the state from the main DB. It does not handle states that are split on parts.
Required change
Extract from PersistentStateStorage::store_shard_state the logic that can write a persistent state (main and parts) into the provided location, and must not update the descriptor cache, and must not update block handle flags.
Blocker for
#1021
Current situation
Outside of
tycho_core::storage,ShardStateWriteris currently used directly to write persistent state.ShardStateWriteroperates on a concreteCellsDband by default will only persist the top part of the state from the main DB. It does not handle states that are split on parts.Required change
Extract from
PersistentStateStorage::store_shard_statethe logic that can write a persistent state (main and parts) into the provided location, and must not update the descriptor cache, and must not update block handle flags.