Skip to content

[Feature] Support recording custom number of backup and restore task information#5947

Merged
yangzhg merged 11 commits intoapache:masterfrom
e0c9:supprot-multi-backup-record
Jun 22, 2021
Merged

[Feature] Support recording custom number of backup and restore task information#5947
yangzhg merged 11 commits intoapache:masterfrom
e0c9:supprot-multi-backup-record

Conversation

@e0c9
Copy link
Contributor

@e0c9 e0c9 commented May 31, 2021

Proposed changes

Doris currently only supports saving the last backup/restore task information. This PR supports to save a custom number of task information.

SQL Syntax

SHOW backup/restore FROM dbname [WHERE LABEL = "" | WHERE LABEL LIKE "matcher"]

Lark20210531-182218

Types of changes

What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)
  • Code refactor (Modify the code structure, format the code, etc...)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have created an issue on (Fix #ISSUE) and described the bug/feature there in detail
  • Compiling and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • If these changes need document changes, I have updated the document
  • Any dependent changes have been merged

@e0c9 e0c9 changed the title Support recording custom number of backup and restore task information [Feature] Support recording custom number of backup and restore task information Jun 3, 2021
@morningman morningman self-assigned this Jun 5, 2021
@e0c9 e0c9 requested a review from morningman June 18, 2021 07:32
@e0c9 e0c9 requested a review from morningman June 18, 2021 12:44
Copy link
Contributor

@morningman morningman left a comment

Choose a reason for hiding this comment

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

LGTM

@morningman morningman added approved Indicates a PR has been approved by one committer. area/backup Issues of PRS related to backup and restore labels Jun 20, 2021
@yangzhg yangzhg merged commit b9ad347 into apache:master Jun 22, 2021
stalary pushed a commit to stalary/doris that referenced this pull request Jun 28, 2021
…information (apache#5947)

* Record all backup jobs and support where clause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. area/backup Issues of PRS related to backup and restore kind/improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants