Skip to content

Acquire lock over in-memory structure before processing operations #5

@sushrut141

Description

@sushrut141

The insert operation mutates the in-memory structure and may cause a flush to disk
when the size exceeds threshold.
The delete operation also mutates the in-memory structure.
This could lead to issues while reading or writing while one of the stores is in an inconsistent state.
To prevent this, all operations that mutate the store should acquire a lock over the store before being processed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions