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模式下,实现读已提交的隔离级别 #355

Open
zkyoma opened this issue Jul 17, 2023 · 0 comments
Open

TAC模式下,实现读已提交的隔离级别 #355

zkyoma opened this issue Jul 17, 2023 · 0 comments
Assignees
Labels

Comments

@zkyoma
Copy link
Contributor

zkyoma commented Jul 17, 2023

具体思路如下:

  • HmilyExecuteTemplateexecute() 方法中,拦截 SELECT SQL,返回对应的 SelectStatement
  • 新增 HmilySelectSQLComputeEngine 类,用来执行 SELECT SQL,返回对应记录(仅查询主键);
  • 根据返回的记录,创建全局锁对象,尝试获取全局锁。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants