forked from tikv/tikv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cdc: skip seek old value for Put if cache returns None (tikv#10031)
* Revert "Fix reuse of invalid write cursor (tikv#9916)" This reverts commit 60101e9. Signed-off-by: Neil Shen <[email protected]> * txn, mvcc: fix reuse of invalid write cursor Signed-off-by: Neil Shen <[email protected]> * txn: add more tests Signed-off-by: Neil Shen <[email protected]> * cdc: skip seek old value for Put if cache returns None Signed-off-by: Neil Shen <[email protected]> * cdc: add old value cache length and capacity metrics Signed-off-by: Neil Shen <[email protected]> * add random test Signed-off-by: Neil Shen <[email protected]> * address comments Signed-off-by: Neil Shen <[email protected]> * fix tests Signed-off-by: Neil Shen <[email protected]> Co-authored-by: Ti Chi Robot <[email protected]>
- Loading branch information
1 parent
c6cbec4
commit 95ebc5c
Showing
12 changed files
with
648 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.