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

Updated raft network implementation in example to return unreachable error #1059

Merged

Conversation

undecidedapollo
Copy link
Contributor

@undecidedapollo undecidedapollo commented Mar 15, 2024

Checklist

  • [*] Updated guide with pertinent info (may not always apply).
  • [*] Squash down commits to one or two logical commits which clearly describe the work you've done.
  • [*] Unittest is a friend:)

Updated network implementation in example to return unreachable error for connection related issues to prevent excessive / immediate retrying.

In reference to #1051


This change is Reviewable

Copy link
Member

@drmingdrmer drmingdrmer left a comment

Choose a reason for hiding this comment

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

Thank you!

The commit message(not PR title) should be started with a type such as Refactor: , the type could be one of the following:

  DataChange    - Persistent data change
  Change        - API breaking change
  Feature       - API compatible new feature
  Improve       - Become better without functional changes
  Perf          - Performance improvement
  Dep           - dependency update
  Doc           - doc update
  Test          - test udpate
  CI            - CI workflow update
  Refactor      - refactor without function change.
  Fix           - fix bug
  Fixdoc        - fix doc
  Fixup         - minor change: e.g., fix sth mentioned in a review.
  BumpVer       - Bump to a new version.
  Chore         - Nothing important.
  Build(deps)   - bot: dependabot.

Update the example to return unreachable error for connection errors to
prevent immediate retries.
@drmingdrmer drmingdrmer merged commit f2c3e05 into datafuselabs:main Mar 17, 2024
28 of 30 checks passed
@drmingdrmer
Copy link
Member

Perfect! Merge it!

@undecidedapollo undecidedapollo deleted the update-example-unreachable branch March 18, 2024 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants