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

worker, ha: For errors that can only be attempted a limited number of times, the number of attempts is limited (#1396) #1425

Merged
merged 1 commit into from
Feb 4, 2021

Conversation

ti-srebot
Copy link

@ti-srebot ti-srebot commented Feb 4, 2021

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

# In dm repo:
git pr https://github.com/pingcap/dm/pull/1425

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

git push [email protected]:ti-srebot/dm.git pr/1425:release-2.0-10fe0bdde98d

What problem does this PR solve?

worker recieved a bound watch, but failed to read bound information in etcd.[part of #1388] (#1388)

What is changed and how it works?

Add reading bound information failed error to RetryableError type, but limit the number of retry.

Check List

Tests

  • Unit test [WIP]
  • Integration test [WIP]

Code changes

  • Has exported function/method change

Side effects

Related changes

@ti-srebot ti-srebot added first-time-contributor needs-update-release-note This PR should be added into release notes. Remove this label once the release notes are updated type/bug-fix Bug fix type/cherry-pick This PR is just a cherry-pick (backport) labels Feb 4, 2021
@lance6716
Copy link
Collaborator

/run-all-tests

@lance6716
Copy link
Collaborator

/run-compatibility-test

@lance6716 lance6716 merged commit 2199abe into pingcap:release-2.0 Feb 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
first-time-contributor needs-update-release-note This PR should be added into release notes. Remove this label once the release notes are updated type/bug-fix Bug fix type/cherry-pick This PR is just a cherry-pick (backport)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants