Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

collector: remove cputime (#970) #1009

Merged
merged 5 commits into from
Apr 15, 2021

Conversation

ti-srebot
Copy link
Contributor

@ti-srebot ti-srebot commented Apr 14, 2021

cherry-pick #970 to release-5.0
You can switch your code base to this Pull Request by using git-extras:

# In br repo:
git pr https://github.com/pingcap/br/pull/1009

After apply modifications, you can push your change to this PR via:

git push git@github.com:ti-srebot/br.git pr/1009:release-5.0-aa5729a5a16f

What problem does this PR solve?

solved #960

What is changed and how it works?

remove the CPU time recorded in summary.

At the same time, fix mis-collected checksum time collection, and put all summary info to zap log fields.

Check List

Tests

  • Manual test (add detailed scripts or steps below)
    Simple restore log:
    [2021/03/31 05:09:03.162 +00:00] [INFO] [collector.go:61] ["Full restore success summary"] [total-ranges=15] [ranges-succeed=15] [ranges-failed=0] [split-region=69.741025ms] [restore-checksum=36.549082ms] [restore-ranges=9] [Size=2697339] [total-take=3.064856286s] [total-kv=9000] [total-size=3.849MB] [average-speed=40.52MB/s]

Release Note

  • Summary now become more clear.

Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@kennytm
Copy link
Collaborator

kennytm commented Apr 14, 2021

/lgtm

@3pointer
Copy link
Collaborator

/lgtm

@ti-chi-bot
Copy link
Member

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • 3pointer
  • kennytm

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by writing /lgtm in a comment.
Reviewer can cancel approval by writing /lgtm cancel in a comment.

@ti-chi-bot ti-chi-bot added status/LGT2 LGTM2 and removed status/LGT1 LGTM1 labels Apr 15, 2021
@3pointer
Copy link
Collaborator

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: 973ac3d

@3pointer
Copy link
Collaborator

/run-all-tests

1 similar comment
@3pointer
Copy link
Collaborator

/run-all-tests

@3pointer
Copy link
Collaborator

/merge

@3pointer 3pointer added this to the v5.0.1 milestone Apr 15, 2021
@3pointer
Copy link
Collaborator

/merge

@3pointer
Copy link
Collaborator

/run-all-tests

@YuJuncen
Copy link
Collaborator

/build

@YuJuncen
Copy link
Collaborator

/run-check-release-note

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants