Skip to content

Implement Copy on Write #2

@DorianGray

Description

@DorianGray

LastFS should implement copy on write.

Specifically, each chunk written to a mongo for a file should have a version id, and a history of versions.This id should be attached to all chunks written to the file.

When a write occurs and before the file write lock is released, the current version id attached to the file should be set to the new version id.

When reading, the highest available chunk version up to the current version should be retrieved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions