kvrocks
kvrocks copied to clipboard
Hoist key mutexes from every command impls to Connection::ExecuteCommand
Search before asking
- [X] I had searched in the issues and found no similar issues.
Motivation
We can remove all key-level mutex locking operations in command implementation and handle them uniformly in Connection::ExecuteCommand.
In this way, we can handle transaction support of scripts, index, etc. more easily.
Solution
No response
Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!