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

cherry-pick to release 4.0 #260

Merged
merged 1 commit into from
May 6, 2020
Merged

Conversation

3pointer
Copy link
Collaborator

@3pointer 3pointer commented May 6, 2020

cherry-pick #257 to release-4.0

What problem does this PR solve?

This PR can register backupTS as safePoint to PD, so the SafePoint won't move forward during backup. Avoid manually set GC safePoint.

What is changed and how it works?

Use pdClient.UpdateServiceSafePoint interface to lock down safePoint with TTL(60 secs)

Check List

Tests

  • No code

Related changes

  • Need to cherry-pick to the release branch
    need cherry-pick to release-4.0
  • Need to update the documentation
  • Need to be included in the release note

Co-authored-by: kennytm <kennytm@gmail.com>
@3pointer 3pointer requested a review from kennytm May 6, 2020 12:51
@overvenus
Copy link
Member

/run-integration-test

Copy link
Member

@overvenus overvenus left a comment

Choose a reason for hiding this comment

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

LGTM

@kennytm kennytm merged commit 3c364fd into pingcap:release-4.0 May 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants