-
Notifications
You must be signed in to change notification settings - Fork 220
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
add LockType field into proto LockInfo #472
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
We can use |
@coocood |
We can just check if the Op is pessimistic lock |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* add LockType field into proto LockInfo
add LockType field and Op field for pessimistic lock
add LockType field and Op field for pessimistic lock
* add LockType field into proto LockInfo
add
LockType
inLockInfo
structdefault
0
means common lock, '1' means pessimistic lock