Skip to content

Lock logic is too strict when performing compaction #7

@MiguelSCruz

Description

@MiguelSCruz

ClosedSegments lock for reads during the whole compaction process which isn't necessary when using a copy-on-write approach. After retrieving the segmentsToCompact the old segments can be accessed until the new ones take place.

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