-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add method to get leader node/address or make submitQuery
be public
#13
Comments
submitQuery
to public
submitQuery
be public
From spec:
So basically a heartbeat round-trip is needed before responding. Ideally, we need two methods:
|
Thanks for your reply. I'm trending to implement |
So, raft is now unable to return to the current leader node, maybe a method should be added,like getLeader?
submitQuery
is private, so I can't query based on that.These are two different ways, if I can get the leader (direct connection) or have access to the query (multiple forwarding), both can provide the service. If you think it is feasible, I will work on this.
The text was updated successfully, but these errors were encountered: