Uh oh!
There was an error while loading. Please reload this page.
[Fix](delete) Fix delete job timeout when executing delete from ... - #37363
Merged
Conversation
doris-robot
commented
Jul 5, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
bobhan1
commented
Jul 5, 2024
ContributorAuthor
run buildall |
delete from ...delete from ...Contributor
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
Contributor
clang-tidy review says "All clean, LGTM! 👍" |
dataroaring
commented
Jul 5, 2024
Contributor
run buildall |
Contributor
PR approved by at least one committer and no changes requested. |
Contributor
PR approved by anyone and no changes requested. |
delete from ...delete from ...doris-robot
commented
Jul 5, 2024
TPC-H: Total hot run time: 40016 ms |
doris-robot
commented
Jul 5, 2024
TPC-DS: Total hot run time: 174526 ms |
doris-robot
commented
Jul 5, 2024
ClickBench: Total hot run time: 30.25 s |
bobhan1
commented
Jul 6, 2024
ContributorAuthor
run external |
bobhan1
commented
Jul 6, 2024
ContributorAuthor
run cloud_p1 |
bobhan1
commented
Jul 6, 2024
ContributorAuthor
run buildall |
Contributor
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Jul 6, 2024
TPC-H: Total hot run time: 39709 ms |
doris-robot
commented
Jul 6, 2024
TPC-DS: Total hot run time: 171308 ms |
doris-robot
commented
Jul 6, 2024
ClickBench: Total hot run time: 30.23 s |
bobhan1
commented
Jul 6, 2024
ContributorAuthor
run p0 |
Yukang-Lian
approved these changes
Jul 6, 2024
dataroaring pushed a commit
that referenced
this pull request
Jul 17, 2024
…#37363) ## Proposed changes Currently, when FE execute delete job, it will send `REALTIME_PUSH` task to all affected replicas and **wait for all asynchronous tasks sent to the backend to return successful status results** or until timeout(which is at least 30s for delete job). If some replica failed to do the job and report an error for the task to FE, FE will retry the task to that replica. However, for some errors like `DELETE_INVALID_CONDITION`/`DELETE_INVALID_PARAMETERS`, we should fail and abort the delete job on FE directly and report the errors to users, rather than keep retrying in vain. So this PR let the delete job fail and abort directly on FE and report the errors to users if FE receives an above error from BE.
Closed
dataroaring pushed a commit
that referenced
this pull request
Aug 28, 2024
HappenLee pushed a commit
to HappenLee/incubator-doris
that referenced
this pull request
Apr 24, 2026
…apache#37363) ## Proposed changes Currently, when FE execute delete job, it will send `REALTIME_PUSH` task to all affected replicas and **wait for all asynchronous tasks sent to the backend to return successful status results** or until timeout(which is at least 30s for delete job). If some replica failed to do the job and report an error for the task to FE, FE will retry the task to that replica. However, for some errors like `DELETE_INVALID_CONDITION`/`DELETE_INVALID_PARAMETERS`, we should fail and abort the delete job on FE directly and report the errors to users, rather than keep retrying in vain. So this PR let the delete job fail and abort directly on FE and report the errors to users if FE receives an above error from BE.
HappenLee pushed a commit
to HappenLee/incubator-doris
that referenced
this pull request
Apr 24, 2026
…_INVALID_XXX` (apache#37834) ## Proposed changes fixapache#37363, delete job should fail and abort for DELETE_INVALID_CONDITION/DELETE_INVALID_PARAMETERS and retry for other failures.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
Currently, when FE execute delete job, it will send
REALTIME_PUSHtask to all affected replicas and wait for all asynchronous tasks sent to the backend to return successful status results or until timeout(which is at least 30s for delete job). If some replica failed to do the job and report an error for the task to FE, FE will retry the task to that replica. However, for some errors likeDELETE_INVALID_CONDITION/DELETE_INVALID_PARAMETERS, we should fail and abort the delete job on FE directly and report the errors to users, rather than keep retrying in vain.So this PR let the delete job fail and abort directly on FE and report the errors to users if FE receives an above error from BE.
branch-2.1-pick: #37374