-
Notifications
You must be signed in to change notification settings - Fork 118
check timeout during SeekLeader and SeekProxy #352
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
check timeout during SeekLeader and SeekProxy #352
Conversation
4cc0eec to
d9c6f51
Compare
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
d9c6f51 to
c5feac8
Compare
|
/run-all-tests |
| this.store = store; | ||
| if (this.store.getProxyStore() != null) { | ||
| this.timeout = conf.getForwardTimeout(); | ||
| } else if (!this.store.isReachable()) { |
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.
why it's removed?
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.
We do not need to do Seek Leader and Seek Proxy during initializing RegionStoreClient. Reasons are:
Seek LeaderandSeek Proxycost time, but we do not want to the initializing process cost too much time.Seek LeaderandSeek Proxywill happen after the first call when reciving gRPC Deadline Exceeded.
|
@marsishandsome please remove the unnecessary items in the PR description. |
c5e485c to
b3ef821
Compare
|
/run-all-tests |
birdstorm
left a comment
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
b3ef821 to
917ee06
Compare
|
/run-all-tests |
afa7c35 to
d015ce4
Compare
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
d015ce4 to
48393a1
Compare
|
/run-all-tests |
birdstorm
left a comment
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
zz-jason
left a comment
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
|
/merge |
|
/run-all-tests |
|
/merge |
|
/run-all-tests |
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
Signed-off-by: marsishandsome marsishandsome@gmail.com
close #353
we should check timeout during SeekLeader and SeekProxy