Skip to content

[cherry-pick] : fix issue moc3006 and moc3039 (#15578) - #15611

Merged
mergify[bot] merged 2 commits into
matrixorigin:1.1-devfrom
jensenojs:fix_moc3006_1.1
Apr 20, 2024
Merged

mergify[bot] merged 2 commits into
matrixorigin:1.1-devfrom
jensenojs:fix_moc3006_1.1

Conversation

@jensenojs

Copy link
Copy Markdown
Contributor

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

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

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

@matrix-meow matrix-meow added the size/S Denotes a PR that changes [10,99] lines label Apr 19, 2024
@mergify
mergify Bot requested a review from sukki37 April 19, 2024 02:41
@mergify mergify Bot added the kind/bug Something isn't working label Apr 19, 2024
@jensenojs

Copy link
Copy Markdown
Contributor Author

…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
@mergify
mergify Bot merged commit 5dcc2f4 into matrixorigin:1.1-dev Apr 20, 2024
sukki37 added a commit that referenced this pull request Apr 21, 2024
@matrix-meow matrix-meow mentioned this pull request Apr 21, 2024
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Something isn't working size/S Denotes a PR that changes [10,99] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants