Skip to content

Storage restart#278

Merged
hg-ms merged 1 commit into
mainfrom
StorageRestart_180526
Jun 10, 2026
Merged

Storage restart#278
hg-ms merged 1 commit into
mainfrom
StorageRestart_180526

Conversation

@hg-ms

@hg-ms hg-ms commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Serializer part of storage restart feature.
This feature enables the storage to start an embedded storage after it has been shut down.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the binary persistence roots handler to support “storage restart” scenarios where an existing PersistenceRoots.Default instance can be re-loaded after its rootIdMapping was discarded during the prior load cycle.

Changes:

  • Rebuilds the identifier → objectId root mapping from the binary payload when PersistenceRoots.Default.$rootIdMapping() is null during updateState().
  • Adds inline documentation explaining why the mapping may be null on re-load and why rebuilding is required.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hg-ms hg-ms requested a review from fh-ms June 10, 2026 08:30
@hg-ms hg-ms merged commit efd8968 into main Jun 10, 2026
18 checks passed
@hg-ms hg-ms deleted the StorageRestart_180526 branch June 10, 2026 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants