Skip to content

muti thread dead lock may happen in special case #15

Description

@loadwiki

In multi keys operation like SUnion SInter ZUnion ZInter RpopLpush,
nemo code requests record lock with the input argument order.
For example,thread 1 locks on "Key1" then requests for "Key2",thread 2 locks on "Key2" requests for "Key1".Then dead lock occurs.
Thread mutex of record lock must be locked in the same order.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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