Repository navigation
[Fix] : replace point locks with table lock in some cases (#15578) - #15763
Merged
Merged
Conversation
jensenojs
requested review from
aunjgr,
badboynt1,
daviszhen,
ouyuanning,
reusee and
zhangxu19830126
as code owners
April 28, 2024 06:43
ouyuanning
reviewed
Apr 28, 2024
Contributor
Author
moc3039https://github.com/matrixorigin/MO-Cloud/issues/3039 select for updatemain
this pr
|
1 task done
…in#15578) sql like `insert into A select * from B`, will try to lock the value in `B`. When the number of these locks is too much, it will lead to bugs reflected in the issue. In the context of range locks being temporarily unavailable, use table lock to replace point lock Previous pr's used the wrong stats, now it's standardized to do the judgement in the last step of building the logic plan.
Contributor
Author
zhangxu19830126
approved these changes
Apr 29, 2024
reusee
approved these changes
Apr 29, 2024
ouyuanning
approved these changes
Apr 29, 2024
This was referenced Apr 29, 2024
Closed
daviszhen
approved these changes
Apr 29, 2024
fengttt
pushed a commit
to fengttt/matrixone
that referenced
this pull request
May 7, 2026
…in#15578) (matrixorigin#15763) sql like `insert into A select * from B`, will try to lock the value in `B`. When the number of these locks is too much, it will lead to bugs reflected in the issue. In the context of range locks being temporarily unavailable, use table lock to replace point lock Approved by: @zhangxu19830126, @reusee, @ouyuanning, @daviszhen
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 free
to 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.



Previous pr's used the wrong stats, now it's standardized to do the judgement in the last step of building the logic plan.
What type of PR is this?
Which issue(s) this PR fixes:
issue # https://github.com/matrixorigin/MO-Cloud/issues/3006
What this PR does / why we need it:
sql like
insert into A select * from B, will try to lock the value inB. When the number of these locks is too much, it will lead to bugs reflected in the issue. In the context of range locks being temporarily unavailable, use table lock to replace point lock