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

backup: set concurrency to 1 when ratelimit enabled #1015

Merged
merged 6 commits into from
Apr 16, 2021

Conversation

YuJuncen
Copy link
Collaborator

What problem does this PR solve?

Fix? #1007

What is changed and how it works?

When --ratelimit was set, degenerate to sequential backing up.

Check List

Tests

Release Note

  • Fix a bug caused the real backup speed may go beyond far the --ratelimit.

Copy link
Collaborator

@kennytm kennytm left a comment

Choose a reason for hiding this comment

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

rest lgtm

pkg/task/backup.go Show resolved Hide resolved
@ti-chi-bot ti-chi-bot added size/M and removed size/S labels Apr 15, 2021
@3pointer
Copy link
Collaborator

/lgtm

@ti-chi-bot ti-chi-bot added the status/LGT1 LGTM1 label Apr 15, 2021
@YuJuncen YuJuncen requested a review from kennytm April 15, 2021 10:55
@YuJuncen
Copy link
Collaborator Author

/run-all-tests

Copy link
Collaborator

@kennytm kennytm left a comment

Choose a reason for hiding this comment

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

rest LGTM

pkg/task/backup.go Outdated Show resolved Hide resolved
pkg/task/backup.go Outdated Show resolved Hide resolved
@YuJuncen YuJuncen requested a review from kennytm April 16, 2021 01:45
@kennytm
Copy link
Collaborator

kennytm commented Apr 16, 2021

/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 16, 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: 017fe85

@ti-chi-bot ti-chi-bot merged commit 0576f07 into pingcap:master Apr 16, 2021
ti-srebot pushed a commit to ti-srebot/br that referenced this pull request Apr 16, 2021
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Contributor

cherry pick to release-4.0 in PR #1025

ti-srebot pushed a commit to ti-srebot/br that referenced this pull request Apr 16, 2021
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Contributor

cherry pick to release-5.0 in PR #1026

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

Successfully merging this pull request may close these issues.

None yet

5 participants