Skip to content
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

feat: retry upon RPC connection failure #71

Merged
merged 9 commits into from
Sep 2, 2022

Conversation

huichiaotsou
Copy link
Contributor

@huichiaotsou huichiaotsou commented Aug 26, 2022

Description

jira: https://forbole.atlassian.net/browse/BDU-488

Checklist

  • Targeted PR against correct branch.
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Wrote unit tests.
  • Re-reviewed Files changed in the Github PR explorer.

@huichiaotsou huichiaotsou changed the title Aaron/retry upon rpc failure Fear: retry RPC client connection upon failure Aug 26, 2022
@huichiaotsou huichiaotsou changed the title Fear: retry RPC client connection upon failure Feat: retry RPC client connection upon failure Aug 26, 2022
@huichiaotsou huichiaotsou added the automerge Automatically merge PR once all prerequisites pass label Aug 29, 2022
cmd/start/cmd.go Outdated Show resolved Hide resolved
cmd/start/cmd.go Outdated Show resolved Hide resolved
cmd/start/cmd.go Outdated Show resolved Hide resolved
huichiaotsou and others added 2 commits August 30, 2022 18:34
Co-authored-by: Magic Cat <37407870+MonikaCat@users.noreply.github.com>
Copy link
Contributor

@MonikaCat MonikaCat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested, LGTM

@huichiaotsou huichiaotsou changed the title Feat: retry RPC client connection upon failure Feat: retry instead of panic upon RPC connection failure Aug 31, 2022
@RiccardoM RiccardoM changed the title Feat: retry instead of panic upon RPC connection failure feat: retry upon RPC connection failure Sep 1, 2022
cmd/start/cmd.go Outdated Show resolved Hide resolved
Copy link
Contributor

@RiccardoM RiccardoM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. But I would like to ask @MonikaCat for one test to make sure everything works properly. Then I will accept this and we can merge it

@mergify mergify bot merged commit 65e739b into cosmos/v0.44.x Sep 2, 2022
@mergify mergify bot deleted the aaron/retry_upon_rpc_failure branch September 2, 2022 05:35
RiccardoM pushed a commit that referenced this pull request Sep 2, 2022
## Description


jira: https://forbole.atlassian.net/browse/BDU-488

## Checklist
- [x] Targeted PR against correct branch.
- [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
- [ ] Wrote unit tests.  
- [x] Re-reviewed `Files changed` in the Github PR explorer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Automatically merge PR once all prerequisites pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants