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

backup: dump stats to json should not be fatal (#682) #687

Merged

Conversation

ti-srebot
Copy link
Contributor

@ti-srebot ti-srebot commented Jan 11, 2021

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

# In br repo:
git pr 687

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

git push [email protected]:ti-srebot/br.git pr/687:ti-srebot:release-5.0-rc-5abd5baa56e6

also improved some logs

What problem does this PR solve?

Part 1 of #679.

What is changed and how it works?

If the stats is broken, we just log and skip it instead of bailing out.

Check List

Tests

  • Unit test

Code changes

Side effects

Related changes

  • Need to cherry-pick to the release branch

Release Note

  • Failing to backup statistics is no longer fatal.

@overvenus
Copy link
Member

LGTM

@ti-srebot ti-srebot added the status/LGT1 LGTM1 label Jan 11, 2021
Copy link
Contributor

@lichunzhu lichunzhu left a comment

Choose a reason for hiding this comment

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

LGTM

@ti-srebot ti-srebot added status/LGT2 LGTM2 and removed status/LGT1 LGTM1 labels Jan 11, 2021
@lichunzhu lichunzhu merged commit 0329712 into pingcap:release-5.0-rc Jan 11, 2021
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.

4 participants