Uh oh!
There was an error while loading. Please reload this page.
[fix](Nereids) remove db readlock before get table from db - #38660
Merged
Conversation
insert will hold readlock of target table before planning. if nereids need db readlock after it, will lead to dead lock. because other statement need to hold db lock before get table lock for example: insert: target table read lock -> database read lock drop table: database write lock -> target table write lock
doris-robot
commented
Aug 1, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
morrySnow
commented
Aug 1, 2024
ContributorAuthor
run buildall |
zddr
approved these changes
Aug 1, 2024
Contributor
PR approved by anyone and no changes requested. |
doris-robot
commented
Aug 1, 2024
TPC-H: Total hot run time: 42007 ms |
doris-robot
commented
Aug 1, 2024
TPC-DS: Total hot run time: 170559 ms |
doris-robot
commented
Aug 1, 2024
ClickBench: Total hot run time: 29.9 s |
morrySnow
commented
Aug 1, 2024
ContributorAuthor
run p1 |
morrySnow
commented
Aug 1, 2024
ContributorAuthor
run cloud_p0 |
Contributor
PR approved by at least one committer and no changes requested. |
morrySnow added a commit
to morrySnow/incubator-doris
that referenced
this pull request
Aug 1, 2024
) pick from master apache#38660 insert will hold readlock of target table before planning. if nereids need db readlock after it, will lead to dead lock. because other statement need to hold db lock before get table lock for example: insert: target table read lock -> database read lock drop table: database write lock -> target table write lock
morrySnow added a commit
to morrySnow/incubator-doris
that referenced
this pull request
Aug 1, 2024
) pick from master apache#38660 insert will hold readlock of target table before planning. if nereids need db readlock after it, will lead to dead lock. because other statement need to hold db lock before get table lock for example: insert: target table read lock -> database read lock drop table: database write lock -> target table write lock
xiaokang pushed a commit
that referenced
this pull request
Aug 1, 2024
yiguolei pushed a commit
that referenced
this pull request
Aug 2, 2024
…38729) pick from master #38660 insert will hold readlock of target table before planning. if nereids need db readlock after it, will lead to dead lock. because other statement need to hold db lock before get table lock for example: insert: target table read lock -> database read lock drop table: database write lock -> target table write lock
dataroaring pushed a commit
that referenced
this pull request
Aug 2, 2024
insert will hold readlock of target table before planning. if nereids need db readlock after it, will lead to dead lock. because other statement need to hold db lock before get table lock for example: insert: target table read lock -> database read lock drop table: database write lock -> target table write lock
feiniaofeiafei pushed a commit
to feiniaofeiafei/doris
that referenced
this pull request
Aug 9, 2024
) insert will hold readlock of target table before planning. if nereids need db readlock after it, will lead to dead lock. because other statement need to hold db lock before get table lock for example: insert: target table read lock -> database read lock drop table: database write lock -> target table write lock
morningman pushed a commit
to morningman/doris
that referenced
this pull request
Aug 18, 2024
) (apache#38729) pick from master apache#38660 insert will hold readlock of target table before planning. if nereids need db readlock after it, will lead to dead lock. because other statement need to hold db lock before get table lock for example: insert: target table read lock -> database read lock drop table: database write lock -> target table write lock
Closed
mongo360 pushed a commit
to mongo360/doris
that referenced
this pull request
Dec 11, 2024
HappenLee pushed a commit
to HappenLee/incubator-doris
that referenced
this pull request
Apr 24, 2026
) insert will hold readlock of target table before planning. if nereids need db readlock after it, will lead to dead lock. because other statement need to hold db lock before get table lock for example: insert: target table read lock -> database read lock drop table: database write lock -> target table write lock
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.
insert will hold readlock of target table before planning. if nereids need db readlock after it, will lead to dead lock. because other statement need to hold db lock before get table lock
for example:
insert: target table read lock -> database read lock
drop table: database write lock -> target table write lock