-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
return leaderTransferee at raft status #7761
return leaderTransferee at raft status #7761
Conversation
Can you explain your use case to justify this additional information? |
Node A is leader, B and C is follower. |
Codecov Report
@@ Coverage Diff @@
## master #7761 +/- ##
=========================================
Coverage ? 75.59%
=========================================
Files ? 336
Lines ? 26393
Branches ? 0
=========================================
Hits ? 19953
Misses ? 5000
Partials ? 1440
Continue to review full report at Codecov.
|
OK. can you also add transferee into the json marshal func? |
@xiang90 sure, glad to do it. |
@xiang90 I have add transferee into json marshal, PTAL |
@YuleiXiao Have you checked the json output is valid? can you give me an example output? |
test code:
print date and check at https://jsonlint.com/:
|
lgtm |
return leaderTransferee when get raft status
get more detail information about raft status