Skip to content

Delay oplog deletion depending on active readers #123

@lalinsky

Description

@lalinsky

I'd like to have a mechanism to ensuring that when a new IndexReader is acquired, we will always have oplog files needed to catch up from the last commit in the reader, if we need to make a snapshot of it.

Currently, we truncate oplog when we commit a new file segment. Instead of that, we should have some kind of tracker for the smallest commit ID we need to have oplog entries for.

@claude think about this and propose a solution

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