Skip to content

Conversation

@Johnnyssc
Copy link
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

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.

@Johnnyssc Johnnyssc 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 restoring Aug 26, 2024
@Johnnyssc
Copy link
Contributor Author

run buildall

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

3 participants