Skip to content

High: storage quota accounting drifts after commit/abort #31

@congwang-mk

Description

@congwang-mk

Quota is incremented on COW/write at fs_helpers.rs (line 57), but commit and abort delete branch delta directories at branch.rs (line 667), branch.rs (line 728), and branch.rs (line 776) without subtracting their sizes. Nested commit also copies child deltas into the parent without adding quota for the new parent copies. Over time, ENOSPC behavior can become detached from actual disk use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions