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

Add ext full backup #1281

Merged
merged 13 commits into from
Jan 7, 2025
Merged

Add ext full backup #1281

merged 13 commits into from
Jan 7, 2025

Conversation

YuJuncen
Copy link
Contributor

@YuJuncen YuJuncen commented Dec 2, 2024

No description provided.

Signed-off-by: hillium <[email protected]>
Signed-off-by: hillium <[email protected]>
Signed-off-by: hillium <[email protected]>
Signed-off-by: hillium <[email protected]>
@ti-chi-bot ti-chi-bot bot requested review from Rustin170506 and yibin87 December 2, 2024 09:28
@ti-chi-bot ti-chi-bot bot added the size/XXL label Dec 2, 2024
@YuJuncen YuJuncen changed the title Add ext full backup and force flush Add ext full backup Dec 25, 2024
proto/brpb.proto Outdated Show resolved Hide resolved
Copy link
Contributor

@Tristan1900 Tristan1900 left a comment

Choose a reason for hiding this comment

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

LGTM!

proto/brpb.proto Outdated
@@ -898,6 +898,48 @@ message MetaEdit {
bool destruct_self = 4;
}

// RewrittenTableID records a sort of modification over the SSTs during restoring.
//
// When "backing up" this "restored" SST, we want to backup what it was "restored".
Copy link
Contributor

Choose a reason for hiding this comment

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

I feel like we want to back up the original SST before any rewrite maybe more intuitive?

proto/brpb.proto Outdated Show resolved Hide resolved
proto/brpb.proto Outdated
// `backup_uuid`.
bool finished = 5;
// When checkpoint enabled, one restoration may be
// sperated to many of `ExtraFullBackup`s.
Copy link
Contributor

Choose a reason for hiding this comment

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

a typo sperated

proto/brpb.proto Outdated

// ExtraFullBackup is created by BR restoring to a cluster with PITR enabled.
// This is uploaded by the BR CLI.
message ExtraFullBackup {
Copy link
Contributor

Choose a reason for hiding this comment

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

What do you think of the name LogBackupInjestedSST or other similar options.
I feel like in our code base there are a lot vague terms and we need to remember what they mean when reading the code, making a bit hard to understand. I personally like to name as explicit as possible. Let me know your thoughts.
Feel free to ignore the comment if you think otherwise!

Copy link

ti-chi-bot bot commented Jan 6, 2025

@Tristan1900: adding LGTM is restricted to approvers and reviewers in OWNERS files.

In response to this:

LGTM!

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Signed-off-by: hillium <[email protected]>
@ti-chi-bot ti-chi-bot bot added the lgtm label Jan 7, 2025
Copy link

ti-chi-bot bot commented Jan 7, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 3pointer, BornChanger, Tristan1900

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

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

ti-chi-bot bot commented Jan 7, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-01-07 07:31:11.050254315 +0000 UTC m=+252414.339086020: ☑️ agreed by BornChanger.
  • 2025-01-07 10:07:19.812834652 +0000 UTC m=+261783.101666362: ☑️ agreed by 3pointer.

@ti-chi-bot ti-chi-bot bot merged commit 0aab8d1 into pingcap:master Jan 7, 2025
5 checks passed
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.

4 participants