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

refactor braft to support hostname as PeerId's endpoint #4

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

xiaolin310
Copy link
Collaborator

  • define a struct named HostNameAddr, as an attribute of PeerId
  • wrap a function to build naming_service_url, which is used for brpc channel init
  • modify logic about channel init with naming service

* define a struct named HostNameAddr, as an attribute of PeerId
* wrap a function to build naming_service_url, which is used for brpc channel init
* modify logic about channel init with naming service
Copy link

@zhangh43 zhangh43 left a comment

Choose a reason for hiding this comment

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

+1

@xiaolin310 xiaolin310 merged commit 57e5e71 into master Nov 30, 2023
4 of 8 checks passed
xiaolin310 added a commit that referenced this pull request Nov 30, 2023
* define a struct named HostNameAddr, as an attribute of PeerId
* wrap a function to build naming_service_url, which is used for brpc channel init
* modify logic about channel init with naming service
* minor fix about hostnameAddr port_ type
xiaolin310 added a commit that referenced this pull request Nov 30, 2023
* define a struct named HostNameAddr, as an attribute of PeerId
* wrap a function to build naming_service_url, which is used for brpc channel init
* modify logic about channel init with naming service
* minor fix about hostnameAddr port_ type
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.

2 participants