Skip to content

Current implementation of certain commands is not atomic #34

@bixuanzju

Description

@bixuanzju

For example INCR command 1) get the value 2) increment 3) put new value in the store, which would lead to data races when multiple clients perform the same operation concurrently.

The easiest fix would be to add mutex around those commands, not sure if you would agree.

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