Repository navigation
[cherry-pick] : fix issue moc3006 and moc3039 (#15578) - #15611
Merged
Merged
Conversation
jensenojs
requested review from
aunjgr,
badboynt1,
daviszhen,
nnsgmsone,
ouyuanning,
reusee and
zhangxu19830126
as code owners
April 19, 2024 02:40
Contributor
Author
nnsgmsone
approved these changes
Apr 19, 2024
ouyuanning
approved these changes
Apr 19, 2024
zhangxu19830126
approved these changes
Apr 19, 2024
reusee
approved these changes
Apr 19, 2024
daviszhen
approved these changes
Apr 19, 2024
…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 Approved by: @ouyuanning, @daviszhen, @zhangxu19830126
jensenojs
force-pushed
the
fix_moc3006_1.1
branch
from
April 20, 2024 02:17
a98a0c8 to
a30eb26
Compare
sukki37
approved these changes
Apr 20, 2024
sukki37
added a commit
that referenced
this pull request
Apr 21, 2024
Merged
sukki37
added a commit
that referenced
this pull request
Apr 22, 2024
jensenojs
added a commit
to jensenojs/matrixone
that referenced
this pull request
Apr 22, 2024
…atrixorigin#15611) replace point locks with table lock in some cases Approved by: @nnsgmsone, @ouyuanning, @zhangxu19830126, @reusee, @daviszhen, @sukki37
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.


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 lockApproved by: @ouyuanning, @daviszhen, @zhangxu19830126
What type of PR is this?
Which issue(s) this PR fixes:
issue https://github.com/matrixorigin/MO-Cloud/issues/3039 https://github.com/matrixorigin/MO-Cloud/issues/3006
What this PR does / why we need it:
replace point locks with table lock in some cases