Skip to content

improve performance if locked with no conflict - #10714

Merged
mergify[bot] merged 3 commits into
matrixorigin:mainfrom
zhangxu19830126:improve_performence_pessimitic
Jul 17, 2023
Merged

mergify[bot] merged 3 commits into
matrixorigin:mainfrom
zhangxu19830126:improve_performence_pessimitic

Conversation

@zhangxu19830126

Copy link
Copy Markdown
Contributor

What type of PR is this?

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

Which issue(s) this PR fixes:

issue #

What this PR does / why we need it:

Improve performance if locked with no conflict. The lock service internally records the maximum commit timestamp for each table, and when a transaction acquires a lock, if there is no conflict, the last commit timestamp is used as the lockedTS, to avoid unnecessary waits

@matrix-meow matrix-meow added the size/M Denotes a PR that changes [100,499] lines label Jul 17, 2023
@mergify mergify Bot added the kind/tech-request New feature or request label Jul 17, 2023
@mergify
mergify Bot merged commit 29d11c2 into matrixorigin:main Jul 17, 2023
jianwan0214 pushed a commit to jianwan0214/matrixone that referenced this pull request Jul 18, 2023
Improve performance if locked with no conflict.  The lock service internally records the maximum commit timestamp for each table, and when a transaction acquires a lock, if there is no conflict, the last commit timestamp is used as the lockedTS, to avoid unnecessary waits

Approved by: @nnsgmsone, @w-zr, @m-schen
fengttt pushed a commit to fengttt/matrixone that referenced this pull request May 7, 2026
Improve performance if locked with no conflict.  The lock service internally records the maximum commit timestamp for each table, and when a transaction acquires a lock, if there is no conflict, the last commit timestamp is used as the lockedTS, to avoid unnecessary waits

Approved by: @nnsgmsone, @w-zr, @m-schen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/tech-request New feature or request size/M Denotes a PR that changes [100,499] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants