-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
raftstore: use force_send to send ApplyRes #13168
Conversation
Signed-off-by: 5kbpers <hustmh@gmail.com>
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
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.
LGTM
PeerMsg::ApplyRes { | ||
res: ApplyTaskRes::Apply(r), | ||
}, | ||
); | ||
) { | ||
error!("failed to send apply result"; "region_id" => region_id, "err" => ?e); |
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.
What if it's shutting down?
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.
Already checked here
tikv/components/batch-system/src/router.rs
Line 263 in 1e13ddf
if self.is_shutdown() { |
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.
LGTM
/merge |
@5kbpers: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger If you have any questions about the PR merge process, please refer to pr process. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: a04ebcb
|
cherry pick to release-5.2 in PR #13172 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-5.3 in PR #13173 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-5.4 in PR #13174 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-6.0 in PR #13175 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-6.1 in PR #13176 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-6.2 in PR #13177 |
close tikv#13160 Use force_send to send ApplyRes Signed-off-by: 5kbpers <hustmh@gmail.com> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io> Signed-off-by: 5kbpers <hustmh@gmail.com>
close tikv#13160, ref tikv#13168 Use force_send to send ApplyRes Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Signed-off-by: 5kbpers <hustmh@gmail.com> Co-authored-by: 5kbpers <hustmh@gmail.com>
close tikv#13160, ref tikv#13168 Use force_send to send ApplyRes Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Signed-off-by: 5kbpers <hustmh@gmail.com> Co-authored-by: 5kbpers <hustmh@gmail.com>
close tikv#13160, ref tikv#13168 Use force_send to send ApplyRes Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Signed-off-by: 5kbpers <hustmh@gmail.com> Co-authored-by: 5kbpers <hustmh@gmail.com>
close tikv#13160, ref tikv#13168 Use force_send to send ApplyRes Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Signed-off-by: 5kbpers <hustmh@gmail.com> Co-authored-by: 5kbpers <hustmh@gmail.com>
close tikv#13160 Use force_send to send ApplyRes Signed-off-by: 5kbpers <hustmh@gmail.com> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
* raftstore: make `UNREACHABLE_BACKOFF` configurable (tikv#13193) close tikv#13054 make `UNREACHABLE_BACKOFF` configurable. Signed-off-by: 5kbpers <hustmh@gmail.com> * raftstore: use force_send to send ApplyRes (tikv#13168) (tikv#13171) close tikv#13160, ref tikv#13168 Use force_send to send ApplyRes Signed-off-by: ti-srebot <ti-srebot@pingcap.com> Signed-off-by: 5kbpers <hustmh@gmail.com> Co-authored-by: 5kbpers <hustmh@gmail.com> * f Signed-off-by: CalvinNeo <calvinneo1995@gmail.com> Co-authored-by: 5kbpers <hustmh@gmail.com> Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
and unsafe backoff * raftstore: use force_send to send ApplyRes (tikv#13168) close tikv#13160 Use force_send to send ApplyRes Signed-off-by: 5kbpers <hustmh@gmail.com> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io> Co-authored-by: 5kbpers <hustmh@gmail.com> Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Signed-off-by: 5kbpers hustmh@gmail.com
What is changed and how it works?
Issue Number: Close #13160
What's Changed:
Related changes
Check List
Tests
Side effects
Release note