Skip to content

Commit

Permalink
cherry pick #1105 & #1107 to release 7.1 (#1113)
Browse files Browse the repository at this point in the history
* Add a flag to CheckTxnStatusRequest to tell TiKV to check whether the lock on the key (if any) is a real primary lock (#1105)

* Change implementation

* Fix typo in comment

Signed-off-by: MyonKeminta <[email protected]>

* Update proto/kvrpcpb.proto

Co-authored-by: ekexium <[email protected]>

---------

Signed-off-by: MyonKeminta <[email protected]>
Co-authored-by: MyonKeminta <[email protected]>
Co-authored-by: ekexium <[email protected]>

* Add error type for primary mismatch (#1107)

Signed-off-by: MyonKeminta <[email protected]>
Co-authored-by: MyonKeminta <[email protected]>

---------

Signed-off-by: MyonKeminta <[email protected]>
Co-authored-by: MyonKeminta <[email protected]>
Co-authored-by: MyonKeminta <[email protected]>
Co-authored-by: ekexium <[email protected]>
  • Loading branch information
4 people authored May 10, 2023
1 parent 10e7620 commit 0af0bec
Show file tree
Hide file tree
Showing 4 changed files with 820 additions and 492 deletions.
Loading

0 comments on commit 0af0bec

Please sign in to comment.