forked from tikv/tikv
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Decouple apply snapshot by introducing pre(post)_apply_snapshot #146
Merged
CalvinNeo
merged 16 commits into
pingcap:raftstore-proxy-6.2
from
CalvinNeo:migrate-pre-handle
Aug 31, 2022
Merged
Decouple apply snapshot by introducing pre(post)_apply_snapshot #146
CalvinNeo
merged 16 commits into
pingcap:raftstore-proxy-6.2
from
CalvinNeo:migrate-pre-handle
Aug 31, 2022
Conversation
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
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
…ikv#12889) ref tikv#12849 Support new observers pre(post)_apply_snapshot. Signed-off-by: CalvinNeo <calvinneo1995@gmail.com> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
CalvinNeo
force-pushed
the
migrate-pre-handle
branch
15 times, most recently
from
August 26, 2022 04:38
beeddef
to
f5da45e
Compare
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
CalvinNeo
force-pushed
the
migrate-pre-handle
branch
from
August 26, 2022 06:21
f5da45e
to
7392cf2
Compare
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
CalvinNeo
force-pushed
the
migrate-pre-handle
branch
from
August 30, 2022 05:24
328c17f
to
12c105d
Compare
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
breezewish
approved these changes
Aug 30, 2022
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
CalvinNeo
force-pushed
the
migrate-pre-handle
branch
from
August 31, 2022 06:16
4292452
to
cc12422
Compare
CalvinNeo
force-pushed
the
migrate-pre-handle
branch
2 times, most recently
from
August 31, 2022 08:27
bf7ac7f
to
937c6b0
Compare
CalvinNeo
force-pushed
the
migrate-pre-handle
branch
from
August 31, 2022 08:34
937c6b0
to
7e9b045
Compare
CalvinNeo
commented
Aug 31, 2022
for observer in &self.registry.apply_snapshot_observers { | ||
let observer = observer.observer.inner(); | ||
let res = observer.post_apply_snapshot(&mut ctx, peer_id, snap_key, snap); | ||
if res.is_err() { |
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.
Need to cp from tikv
CalvinNeo
force-pushed
the
migrate-pre-handle
branch
from
August 31, 2022 12:38
7ddc3cd
to
65b652e
Compare
Signed-off-by: CalvinNeo <calvinneo1995@gmail.com>
CalvinNeo
force-pushed
the
migrate-pre-handle
branch
from
August 31, 2022 12:48
65b652e
to
b204603
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What problem does this PR solve?
Issue Number: ref pingcap/tiflash#5170
Problem Summary:
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note