当前位置:网站首页>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 ”
边栏推荐
- d3dx9_ Where is 35.dll? d3dx9_ Where can I download 35.dll
- (5) SPI application design and simulation verification 2 - design code implementation
- Huawei cloud devcloud launched four new capabilities, setting two domestic firsts
- Under the influence of external factors, how to manage internal resources and reduce costs is the key
- Defiato is an innovation that combines user-friendly features of a centralized platform with defi services
- 医院预约挂号系统-系统结构
- Cesium realizes satellite orbit detour
- Leetcode 5. Longest Palindromic Substring
- Offline disk group
- 如何制作登录界面
猜你喜欢

Oracle concept II

How much room does Migu video have for development without relying on sports events?

Explain the distributed computing of Apache skywalking OAP in detail

Repeatedly recognized by authoritative organizations! Smartbi was selected into the top three lists of high-tech and high growth enterprises

Why should string be designed to be immutable?

Wanzhou gold industry: what are the common gold investment and warehouse building modes?

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)

d3dx9_ Where is 35.dll? d3dx9_ Where can I download 35.dll

Sword finger offer 22 The penultimate node in the linked list

Overview of Inspur Yunxi database executor
随机推荐
Leetcode 5. Longest Palindromic Substring
Explain the distributed computing of Apache skywalking OAP in detail
CDH cluster installation
leetcode 200. Number of islands
[the way of programmer training] - 3 Character count statistics
Sword finger offer 22 The penultimate node in the linked list
Part 30 supplement (30) ECMAScript object
About redis master-slave replication
Teach you how to realize pynq-z2 bar code recognition
建立自己的网站(10)
Awk determines whether the first column is greater than 1. If it is greater than 1, the row will be printed
如何提升IT电子设备效能管理
黑马程序员-软件测试基础班-02-30-45工具代开浏览器运行代码,音、视频、测试点,音视频标签,布局标签。超链接语法进阶,绝对路径,相对路径
D use in
[UVM foundation] build of UVM_ Phase execution sequence
Oracle概念二
Shardingsphere sharding proxy actual combat scenario
Oracle的NUMBER长度超过19之后,实体使用Long映射,导致出现问题是为什么?
C language set operation
How to improve it electronic equipment performance management