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 binlog prewrite time to record binlog prewrite time consume #14119

Merged
merged 3 commits into from
Dec 19, 2019

Conversation

cfzjywxk
Copy link
Contributor

What problem does this PR solve?

Record the binlog prewrite time consume and log it into the slow query log file, this field could be used to verify if binlog prewrite takes much time in twoPhaseCommiter.execute function

What is changed and how it works?

Check List

Tests

  • Unit test

Code changes

  • Has exported variable/fields change
  • Has persistent data change

Side effects

Related changes

  • Need to cherry-pick to the release branch

Release note

  • Write release note for bug-fix or new feature.

@lysu lysu changed the title [slow log] Add binlog prewrite time to record binlog prewrite time consume *: Add binlog prewrite time to record binlog prewrite time consume Dec 18, 2019
Copy link
Contributor

@lysu lysu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cfzjywxk
Copy link
Contributor Author

@jackysp @crazycs520 PTAL

@IANTHEREAL
Copy link
Contributor

LGTM

@cfzjywxk
Copy link
Contributor Author

/merge

@sre-bot sre-bot added the status/can-merge Indicates a PR has been approved by a committer. label Dec 19, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Dec 19, 2019

/run-all-tests

@sre-bot sre-bot merged commit 9f5aca7 into pingcap:master Dec 19, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Dec 19, 2019

cherry pick to release-3.0 failed

@sre-bot
Copy link
Contributor

sre-bot commented Apr 7, 2020

It seems that, not for sure, we failed to cherry-pick this commit to release-3.0. Please comment '/run-cherry-picker' to try to trigger the cherry-picker if we did fail to cherry-pick this commit before. @cfzjywxk PTAL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/execution SIG execution 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.

4 participants