-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: introduce GetLocal() and BatchGet cache for PipelinedMemDB (#1212)
* feat: introduce GetLocal() for MemBuffer Signed-off-by: ekexium <[email protected]> * downgrade tools to 0.18.0 Signed-off-by: ekexium <[email protected]> * fix: set flushingMemDB = nil when an error is returned from a flush Signed-off-by: ekexium <[email protected]> * impl BatchGet for MemBuffer Signed-off-by: you06 <[email protected]> test membuffer batch get Signed-off-by: you06 <[email protected]> * add Prefetch & GetPrefetchCache Signed-off-by: you06 <[email protected]> * cache multi Prefetch call Signed-off-by: you06 <[email protected]> * add tests Signed-off-by: you06 <[email protected]> * workaround for golang ci lint failure Signed-off-by: you06 <[email protected]> * replace assert with require Signed-off-by: you06 <[email protected]> * workaround golangci lint Signed-off-by: you06 <[email protected]> * lint Signed-off-by: you06 <[email protected]> * remove prefetch interface, pipelined memdb will cache batch get result Signed-off-by: you06 <[email protected]> * update tidb Signed-off-by: you06 <[email protected]> * fix batch get cache when membuffer is empty Signed-off-by: you06 <[email protected]> * fix returned delete value Signed-off-by: you06 <[email protected]> * fix: handle resourceGroupTag of Flush Signed-off-by: ekexium <[email protected]> * fix: set resource group tag for committer if it's pipelined Signed-off-by: ekexium <[email protected]> * Update internal/unionstore/pipelined_memdb.go Co-authored-by: ekexium <[email protected]> * remove prefetch interface Signed-off-by: you06 <[email protected]> * release mutex Signed-off-by: you06 <[email protected]> * flush wait to avoid race Signed-off-by: you06 <[email protected]> * fix unstopped test Signed-off-by: you06 <[email protected]> * set resource group tags for committer Signed-off-by: ekexium <[email protected]> * skip test due to tikv image not updated yet Signed-off-by: you06 <[email protected]> * skip more test Signed-off-by: you06 <[email protected]> --------- Signed-off-by: ekexium <[email protected]> Signed-off-by: you06 <[email protected]> Co-authored-by: you06 <[email protected]>
- Loading branch information
Showing
21 changed files
with
496 additions
and
155 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
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.