Skip to content

[enhancement](Load)allow load data to the other partitions when some partitions are restoring - #39915

Merged
yiguolei merged 1 commit into
apache:branch-2.1from
Johnnyssc:dev_load_enhance_2.1
Aug 26, 2024
Merged

[enhancement](Load)allow load data to the other partitions when some partitions are restoring#39915
yiguolei merged 1 commit into
apache:branch-2.1from
Johnnyssc:dev_load_enhance_2.1

Conversation

@Johnnyssc

Copy link
Copy Markdown
Contributor

If broker load or stream load task execute in one table that is restoring data, load task will failed with Exception.
Exception info :"Table [xxx] is under restore" or "Table [xxx] is in restore process, can't load into it".

But mostly restoreJob only effects some partitions in this table, not all of them, so that the other partitions still need to load data successfully.
To achieve this goal, before checking olap table state, check partition state first.

cherry pick from master branch, pr has been merged: #39595

@doris-robot

Copy link
Copy Markdown

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.

@JohnnysscJohnnyssc changed the title [enhancement](Load)allow load data to the other partitions when some …[enhancement](Load)allow load data to the other partitions when some partitions are restoringAug 26, 2024
@Johnnyssc

Copy link
Copy Markdown
ContributorAuthor

run buildall

@yiguolei
yiguolei merged commit e4bf10e into apache:branch-2.1Aug 26, 2024
@yiguoleiyiguolei mentioned this pull request Sep 5, 2024
3 tasks
Sign up for freeto 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.

3 participants

@Johnnyssc@doris-robot@yiguolei