Skip to content

branch-3.1: [enhancement](backup) handle dropped tables and partitions during backup #52935#54289

Closed
github-actions[bot] wants to merge 1 commit intobranch-3.1from
auto-pick-52935-branch-3.1
Closed

branch-3.1: [enhancement](backup) handle dropped tables and partitions during backup #52935#54289
github-actions[bot] wants to merge 1 commit intobranch-3.1from
auto-pick-52935-branch-3.1

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Aug 4, 2025

Cherry-picked from #52935

…kup (#52935)

### What problem does this PR solve?

Issue Number: close #52274

Problem Summary:

When a backup is running, dropping a table, dropping a partition or
truncating a table would cause backup failure because BE cannot find
some tablets. This fix:

1. Add droppedTables and droppedPartitionsByTable fields to track
dropped objects during backup
2.  Filter out dropped tables and partitions during backup

This ensures backup jobs can complete successfully even when tables or
partitions are dropped during the backup process.

Co-authored-by: ylh <ylh@example.com>
@github-actions github-actions bot requested a review from morrySnow as a code owner August 4, 2025 09:37
@hello-stephen
Copy link
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@dataroaring dataroaring closed this Aug 4, 2025
@dataroaring dataroaring reopened this Aug 4, 2025
@hello-stephen
Copy link
Contributor

run buildall

@morrySnow
Copy link
Contributor

compile failed

@morrySnow morrySnow closed this Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants