-
Notifications
You must be signed in to change notification settings - Fork 188
election: don't forwarding when startLeaderComponent #1118
Conversation
This comment has been minimized.
This comment has been minimized.
log in #1088
this PR now will return to dm-ctl an error that failed to forward after waiting 1s. I'm afraid that's too short because in above log master used 7s to finish and in fact, before this PR, request will forward back and forth and finally success with longer response time. after this PR it will fail quickly. Is this expected? |
I think no need to waiting more time, just give a clear error is enough.
I think this is expected. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rest LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/run-all-tests |
PTAL if have spare time @WangXiangUSTC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-2.0 in PR #1157 |
Signed-off-by: ti-srebot <[email protected]> Co-authored-by: lance6716 <[email protected]>
What problem does this PR solve?
close #1088
What is changed and how it works?
lock more code
Check List
Tests
Code changes
Side effects
Related changes