Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

muti thread dead lock may happen in special case #15

Open
loadwiki opened this issue May 25, 2017 · 0 comments
Open

muti thread dead lock may happen in special case #15

loadwiki opened this issue May 25, 2017 · 0 comments
Assignees

Comments

@loadwiki
Copy link

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.

@baotiao baotiao self-assigned this Jul 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants