-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
log-backup: implement subscription of flush #39445
Merged
Merged
Changes from 33 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
77211fe
use span (tree?) to replace checkpoint heap
YuJuncen f6b3624
adapt ranges
YuJuncen 3db857c
remove unrelatived code
YuJuncen 0b00cc8
make CI happy
YuJuncen b3008d2
fixed a bug over subranges
YuJuncen e592b7e
try make linter happy
YuJuncen bf27ca8
Merge branch 'master' into span-tree
YuJuncen a7772ad
updated bazel
YuJuncen 7613d04
Merge branch 'span-tree' of https://github.com/YuJuncen/tidb into spa…
YuJuncen 13eee91
adapt subscribing
YuJuncen acb5b83
refactoring subscription
YuJuncen 3786634
fix encode
YuJuncen 0b0a322
make code more clear
YuJuncen 0f7a93e
added test for subscriber
YuJuncen 21198ed
fix some memory leakage
YuJuncen 6578dc3
fixed panic
YuJuncen f718a02
fixed MergeAll
YuJuncen 585d2e1
fix bugs
YuJuncen 8764c03
Merge branch 'span-tree' of https://github.com/YuJuncen/tidb into sub…
YuJuncen fd4918c
address comments
YuJuncen 102941e
check length before checking
YuJuncen 7ba6318
Merge branch 'master' into span-tree
YuJuncen 3e619d7
Merge branch 'master' into span-tree
ti-chi-bot 79cfe5e
Merge branch 'master' into span-tree
ti-chi-bot 0aec2af
Merge branch 'master' into span-tree
ti-chi-bot 64c307b
Merge branch 'master' into span-tree
ti-chi-bot 92ccbcb
Merge branch 'span-tree' of https://github.com/YuJuncen/tidb into sub…
YuJuncen 7351c04
Merge branch 'master' of https://github.com/pingcap/tidb into subscri…
YuJuncen 38ffb76
added some comments
YuJuncen c4c4772
fix ci
YuJuncen ce4e567
Merge branch 'master' of https://github.com/pingcap/tidb into subscri…
YuJuncen f0ddf2f
run bazel
YuJuncen e48f8ec
address comments
YuJuncen 998aeaa
Merge branch 'master' of https://github.com/pingcap/tidb into subscri…
YuJuncen 5145361
address comments
YuJuncen 27bf2e1
make bazel happy
YuJuncen 2371944
Merge branch 'master' into subscription-flush
YuJuncen 786a95d
make better test case
YuJuncen dff87af
Merge branch 'subscription-flush' of https://github.com/YuJuncen/tidb…
YuJuncen 3b16943
bazel
YuJuncen 4e528fc
fix test case
YuJuncen 2ad7f64
Merge branch 'master' into subscription-flush
joccau 09acde5
Merge branch 'master' into subscription-flush
ti-chi-bot bb46a46
Merge branch 'master' into subscription-flush
ti-chi-bot 764f16c
Merge branch 'master' into subscription-flush
ti-chi-bot 449751e
Merge branch 'master' into subscription-flush
ti-chi-bot bacf211
Merge branch 'master' into subscription-flush
ti-chi-bot 5b5a7c2
Merge branch 'master' into subscription-flush
ti-chi-bot 34784a5
Merge branch 'master' into subscription-flush
ti-chi-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 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.
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.
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.
Whether use
tso - threshold
rather thantime.now() - threshold
?If the system time is different from tso from PD.
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.
We cannot fetch TSO from this context. Fetching TSO needs to establish a long connection from PD server and this ability isn't directly exported by TiDB.