Skip to content
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 a log when getting timestamps are too slow (#1863) #1867

Merged
merged 3 commits into from Oct 31, 2019

Conversation

sre-bot
Copy link
Contributor

@sre-bot sre-bot commented Oct 30, 2019

cherry-pick #1863 to release-3.0


What problem does this PR solve?

To make clear about whether the server is slow or the network is slow when getting timestamps.

What is changed and how it works?

This PR will print a log when the cost time of getting timestamps is more than 5 Millisecond.

Check List

Tests

  • Unit test

Related changes

  • Need to cherry-pick to the release branch

Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Signed-off-by: Ryan Leung <rleungx@gmail.com>
@sre-bot sre-bot added status/can-merge Indicates a PR has been approved by a committer. cherry-pick labels Oct 30, 2019
@lhy1024
Copy link
Contributor

lhy1024 commented Oct 30, 2019

/run-all-tests

@lhy1024
Copy link
Contributor

lhy1024 commented Oct 30, 2019

/merge

@sre-bot
Copy link
Contributor Author

sre-bot commented Oct 30, 2019

/run-all-tests

@sre-bot
Copy link
Contributor Author

sre-bot commented Oct 30, 2019

@sre-bot merge failed.

@lhy1024
Copy link
Contributor

lhy1024 commented Oct 31, 2019

/merge

@sre-bot
Copy link
Contributor Author

sre-bot commented Oct 31, 2019

Your auto merge job has been accepted, waiting for 1868

@sre-bot
Copy link
Contributor Author

sre-bot commented Oct 31, 2019

/run-all-tests

@sre-bot
Copy link
Contributor Author

sre-bot commented Oct 31, 2019

@sre-bot merge failed.

@lhy1024
Copy link
Contributor

lhy1024 commented Oct 31, 2019

/run-integration-common-test tidb-test=pr/934

@lhy1024 lhy1024 merged commit 6571002 into tikv:release-3.0 Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/can-merge Indicates a PR has been approved by a committer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants