当前位置:网站首页>Can the selectforupdateexecution in Seata obtain the global lock before executing SQL?
Can the selectforupdateexecution in Seata obtain the global lock before executing SQL?
2022-06-27 18:16:00 【Alibaba cloud Q & A】
Seata In this SelectForUpdateExecutor You can obtain the global lock first , Re execution sql Statement no ? At present, the global lock cannot be obtained in this place , The rollback transaction will continue 
Take the answer 1:
Need to release the local lock , Otherwise, other normal transactions will be blocked . Grab the local lock first and then get the global lock , This is the read committed isolation level under distributed transactions , This forupdate Not a lock , Yes check lock . Because I got the local lock , If no other transaction owns the global lock , The distributed transaction read down has been committed ,at Other transactions of cannot get the local lock and cannot get the global lock .
This answer is to sort out the self nailing group “3 Group -Seata Open source discussion group ”
边栏推荐
- 软件测试基础-软件测试历史流程,分类,好处,限制
- leetcode 69. Square root of X
- Ten common methods of arrays tools
- Application practice of day13 for loop distinguish the application of traversing break continue
- Halcon: discrete digital OCR recognition
- Oracle概念二
- Unity 阴影——阴影平坠(Shadow pancaking)
- 电子智慧套装教程
- 广汽三菱全新欧蓝德首次国内亮相于年内上市 产品力全面焕新
- 简历如何去写?
猜你喜欢
![[qt learning notes]qt uses MFC compilation to generate DLL libraries. The problem that DLL cannot be loaded occurs on computers without programming environment](/img/fb/4cf7013687973a7214e51faf3358c0.jpg)
[qt learning notes]qt uses MFC compilation to generate DLL libraries. The problem that DLL cannot be loaded occurs on computers without programming environment

Advanced learning of MySQL -- Application -- Optimization of other SQL statements

Overview of Inspur Yunxi database executor

leetcode 200. Number of islands

Anfulai embedded weekly report (issue 252): February 7, 2022 to February 13, 2022

如何提升IT电子设备效能管理

Leetcode 5. Longest Palindromic Substring

Lvgl8.x migrating to stm32f4

如何制作登录界面

d3dx9_ How to repair 38.dll? d3dx9_ 38. How to download a missing DLL?
随机推荐
Wanzhou gold industry: what are the common gold investment and warehouse building modes?
Qt5 signal and slot mechanism (demonstrate the correlation between the control's own signal and slot function)
当发布/订阅模式遇上.NET
DOM object in JS
Wanzhou gold industry: what are the differences between gold t+d investment and other investments?
Synchronization mechanism of dual namenodes
C language set operation
428 binary tree (501. mode in binary search tree, 701. insert operation in binary search tree, 450. delete node in binary search tree, 669. prune binary search tree)
Awk determines whether the first column is greater than 1. If it is greater than 1, the row will be printed
[UVM basics] UVM tree organizational structure
Dark horse programmer - software testing foundation class -02-30-45 tools open browser running code, audio, video, test points, audio and video labels, layout labels. Advanced hyperlink syntax, absolu
leetcode 69. Square root of X
软件测试基础-软件测试历史流程,分类,好处,限制
Under the influence of external factors, how to manage internal resources and reduce costs is the key
Anfulai embedded weekly report (issue 252): February 7, 2022 to February 13, 2022
seata-server 端数据库连接用户、业务数据库 undo_log 所属用户都需要什么权限?
2/14 preliminary calculation geometry
Detailed explanation of various GPIO input and output modes (push-pull, open drain, quasi bidirectional port)
模拟进程调度
Popularization of MCU IO port: detailed explanation of push-pull output and open drain output