Skip to content

*: update pd dependency#18570

Closed
rleungx wants to merge 1 commit intopingcap:release-4.0from
rleungx:update-pd-4.0
Closed

*: update pd dependency#18570
rleungx wants to merge 1 commit intopingcap:release-4.0from
rleungx:update-pd-4.0

Conversation

@rleungx
Copy link
Member

@rleungx rleungx commented Jul 15, 2020

What problem does this PR solve?

Issue Number: see tikv/pd#2642.

Problem Summary: When creating TSO stream, If the server crashes, it may have a possibility that blocks for a while until TCP layer timeout.

What is changed and how it works?

What's Changed: Add a context check mechanism when creating TSO stream.
How it Works: Use an extra goroutine to check if the context is timeout.

Release note

  • No release note

Signed-off-by: Ryan Leung <rleungx@gmail.com>
@rleungx
Copy link
Member Author

rleungx commented Aug 25, 2020

This PR is outdated. Close it.

@rleungx rleungx closed this Aug 25, 2020
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.

1 participant