Skip to content

Prevent loading of storage files created with newer versions #561

@zdenek-jonas

Description

@zdenek-jonas

Goal: Implement a version check during storage initialization to prevent data corruption or undefined behavior when an older application attempts to open a newer data format.

Requirements

  • Version Check: On startup, read the storage format version from the header.

  • Blocking Logic: If storage_version > current_app_version, the system must fail fast and stop the loading process immediately.

  • Error Message: The user must receive a clear message indicating that their software is outdated, not that the file is "broken".

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions