-
Notifications
You must be signed in to change notification settings - Fork 753
server: Add gRPC interfaces for the new GC APIs. #9189
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
Merged
Merged
Changes from 87 commits
Commits
Show all changes
92 commits
Select commit
Hold shift + click to select a range
c70bd8e
Add chagnes to the path definition
MyonKeminta 84b09c4
Add gc_states.go and gc_states_test.go
MyonKeminta 70c0ce9
fix test
MyonKeminta ba36b14
Add more comments
MyonKeminta 26fc18c
fix lint
MyonKeminta 2622255
Add more comments
MyonKeminta db9fa7b
Remove unnecessary commented code
MyonKeminta 364cf6d
Add more comments
MyonKeminta c5653a2
Address comments
MyonKeminta 2f0c663
Update file headers
MyonKeminta c1731dd
Renaming
MyonKeminta d9b944f
Merge path functions
MyonKeminta f1647bf
rename keypath/safe_point.go to gc_states.go
MyonKeminta b913e1e
Merge branch 'master' of https://github.com/tikv/pd into m/gc-state-s…
MyonKeminta 11a002e
Add comments explaining keyspace-level GC and unified GC
MyonKeminta 8e4bd77
Address comments
MyonKeminta 0a5acfd
Address comments
MyonKeminta 42cae00
fix lint
MyonKeminta 632a99d
Add related files
MyonKeminta 66d462b
update kvproto
MyonKeminta ed770a8
move code
MyonKeminta d96539b
switch implementations
MyonKeminta 1c72c88
abandon GC API V2
MyonKeminta 397a53f
Address comments
MyonKeminta 6445fa4
Add test for GCBarrer.IsExpired
MyonKeminta 106639f
Merge branch 'master' of https://github.com/tikv/pd into m/gc-state-s…
MyonKeminta 236ed1c
Merge branch 'm/gc-state-storage' into m/gc-state-manager
MyonKeminta 11080fd
Merge commit 'c1c681a' into m/gc-state-manager
MyonKeminta 1530f53
fix lint
MyonKeminta 8b9c144
address comments from #9109
MyonKeminta 589b58f
fix lint
MyonKeminta 75b7fda
Fix lint
MyonKeminta d36b277
Add test case for GetGCState & GetAllKeyspacesGCStates
MyonKeminta ed5afd2
fix errordoc
MyonKeminta f0e629d
Merge branch 'master' of https://github.com/tikv/pd into m/gc-state-m…
MyonKeminta ea49f7a
fix etcd key compatibility test
MyonKeminta 8081080
Adjustments to the comments
MyonKeminta 9595362
Add test coverage for non-positive TTL of SetGCBarrier and violation …
MyonKeminta 84bfde9
remove some methods and test cases to reduce single PR size
MyonKeminta 43b2068
Add back removed changes
MyonKeminta 1981578
Fix test
MyonKeminta a1776b3
Address comments
MyonKeminta 66cf8e9
Address comments
MyonKeminta 051eb23
Remove saturatingDuration
MyonKeminta cc2c527
Rename keyspace GC management type configuration values
MyonKeminta 4841da6
Add comments
MyonKeminta 355d092
Address partial of the comments
MyonKeminta 369726b
Address comments
MyonKeminta 8553c0a
Move log printing into a separated function
MyonKeminta 51e8561
fix cases in logs
MyonKeminta 63747ef
fix lint
MyonKeminta 885e1fc
fix lint
MyonKeminta fbcfcb8
Merge branch 'master' into m/gc-state-manager-partial
ti-chi-bot[bot] 9ef2a3b
Merge branch 'm/gc-state-manager-partial' into m/gc-state-manager
MyonKeminta f3a4b06
fix renaming
MyonKeminta 3e41130
Merge remote-tracking branch 'upstream/master' into m/gc-state-manager
MyonKeminta dcb1f84
fix etcd key test
MyonKeminta 215680c
Merge branch 'm/gc-state-manager' into m/new-gc-grpc-api
MyonKeminta cc88bc8
refine logs
MyonKeminta 9aef216
Merge branch 'm/gc-state-manager' into m/new-gc-grpc-api
MyonKeminta aa80488
fix lint; address comments; renaming
MyonKeminta e978f22
Update comments
MyonKeminta d256f66
Implement new gRPC APIs
MyonKeminta c0c0429
Adapt the http api
MyonKeminta 3e1f42c
Address comments
MyonKeminta 829a9cb
Address comments
MyonKeminta 36eab11
Merge branch 'm/gc-state-manager' into m/new-gc-grpc-api
MyonKeminta 472b597
Add back implementation of V2 API which might still be used by compon…
MyonKeminta 65dc7f8
Fix some tests
MyonKeminta fea892c
fix invalidated test
MyonKeminta 132e61f
fix lint
MyonKeminta d214c64
fix lint
MyonKeminta 1adfc07
suppress unnecessary linter warnings
MyonKeminta 165c705
Merge branch 'master' into m/gc-state-manager
ti-chi-bot[bot] b2e74cf
Merge branch 'master' into m/gc-state-manager
ti-chi-bot[bot] 96a034b
Merge commit 'b2e74cf2ace0dd160295993969c4c571c313d357' into m/new-gc…
MyonKeminta ef7dded
Merge commit 'caf9fce58d829ee1fbd17929f3606e8d435ee602' into m/new-gc…
MyonKeminta 861dc5e
Update comments
MyonKeminta 554c718
remove old api deprecation related code
MyonKeminta 529e9fc
Add back removed test
MyonKeminta c32e226
fix initialization order; fix missing field
MyonKeminta 55ff5d6
Merge branch 'master' of https://github.com/tikv/pd into m/new-gc-grp…
MyonKeminta c45af95
fix lint
MyonKeminta dfa4426
Add tests
MyonKeminta 90abbd8
Fix test
MyonKeminta a8cd548
Fix lint
MyonKeminta 1b8a3f8
fix etcd key test
MyonKeminta b1c8f66
Merge branch 'master' of https://github.com/tikv/pd into m/new-gc-grp…
MyonKeminta 9f8f1a0
update kvproto to master
MyonKeminta 4b14687
Address comments
MyonKeminta c4b9aea
Address comments
MyonKeminta 14f1c04
Merge branch 'master' into m/new-gc-grpc-api
ti-chi-bot[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.