Skip to content

[Disk Queue] Always advance to a new segment on process restart #182

@medcl

Description

@medcl

To prevent data loss or corruption, the disk-backed queue should always creates and writes to a new segment file after a process restart. This avoids accidentally overwriting existing segment files when the previous state was not fully flushed or closed properly.
It also simplifies recovery and ensures better durability guarantees across restarts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions