Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Aug 26, 2024

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
22 of 23 checks passed
@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