Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tac 模式增加事务隔离级别的控制 #366

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

zkyoma
Copy link
Contributor

@zkyoma zkyoma commented Sep 1, 2023

  1. HmilyTac 注解增加 isolationLevel 属性, 用来确定 tac 模式下的隔离级别, 默认为 read uncommitted;
  2. 开启全局事务,创建 HmilyTransactionContext 对象时,保存对应的隔离级别;
  3. 执行 select SQL 时,根据 HmilyTransactionContext 对象的 isolationLevel 判断是否需要 checkLocks
  4. 修改 tac demo 中对应的读已提交测试案例。

…。执行select SQL时, 根据隔离级别判断是否需要checkLocks。

2.修改tac demo中对应的测试案例。
@cherrylzhao cherrylzhao merged commit 795d269 into dromara:master Sep 8, 2023
1 check passed
@zkyoma zkyoma deleted the 365 branch September 11, 2023 07:27
cherrylzhao pushed a commit that referenced this pull request Oct 24, 2023
…。执行select SQL时, 根据隔离级别判断是否需要checkLocks。 (#366)

2.修改tac demo中对应的测试案例。
cherrylzhao pushed a commit that referenced this pull request Oct 24, 2023
…。执行select SQL时, 根据隔离级别判断是否需要checkLocks。 (#366)

2.修改tac demo中对应的测试案例。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants