Skip to content

Conversation

@Vallishp
Copy link
Contributor

@Vallishp Vallishp commented Oct 19, 2024

follow up for #40512

Issue Number: close #xxx

if a insert overwrite happens to un-partitioned table, partition info needs to be kept inside the recycle bin. (without this tablets may leak)
once the data kept in recycle bin, it can be recovered using below step.

recover the partition to table as another partition in the table.
create another temp user table , and select the recover partition info and insert to it.
replace original user table from temp user table.

@doris-robot
Copy link

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

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@Vallishp
Copy link
Contributor Author

run buildall

Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Oct 20, 2024
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

Copy link
Contributor

@yujun777 yujun777 left a comment

Choose a reason for hiding this comment

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

LGTM

@dataroaring dataroaring merged commit 8f849bc into apache:master Oct 21, 2024
dataroaring pushed a commit that referenced this pull request Oct 28, 2024
…in insert overwrite case (#42404)

bp #42130 

follow up for #40512

Issue Number: close #xxx

if a insert overwrite happens to un-partitioned table, partition info
needs to be kept inside the recycle bin. (without this tablets may leak)
once the data kept in recycle bin, it can be recovered using below step.

recover the partition to table as another partition in the table.
create another temp user table , and select the recover partition info
and insert to it.
replace original user table from temp user table.
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. dev/3.0.3-merged p0_l reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants