当前位置:网站首页>How to solve the following problems in the Seata database?
How to solve the following problems in the Seata database?
2022-06-28 14:48:00 【Alibaba cloud Q & A】
Seata How to solve the following problems in the database ? Could not found global transaction xid = %s, may be has finished.
Take the answer 1:
Illustrate with examples : @GlobalTransactional(timeout=60000) public void A(){ call remoting B();// The remote invocation B service local DB operation;
}
public void B(){
}
Possible causes :
A The overall execution time exceeded 60000ms, This causes the global transaction to initiate a global rollback , here A or B Method to continue DB operation , Verify the global transaction status , Found that the global transaction has been rolled back . B Service execution exceeds its set readTimeout Returns an exception to A And throw an exception to cause the global transaction to roll back , here B Service execution DB In operation , Verify the global transaction status , Found that the global transaction has been rolled back . influence : When this happens , The data will be rolled back to A The initial state of data before method execution , From the perspective of data consistency , The data is consistent as a whole . This answer is to sort out the self nailing group “3 Group -Seata Open source discussion group ”
边栏推荐
- Gas station (greedy)
- [collection of excellent articles on Digital IC] nearly 500 articles | learning route | basic knowledge | interface | bus | scripting language | chip job search | security | EDA | tools | low power de
- sent2vec教程
- 推荐四款可视化工具,解决 99% 的可视化大屏项目!
- Leetcode(665)——非递减数列
- 法兰克福地区目前支持sql了吗?
- VPS是干嘛用的?有哪些知名牌子?与云服务器有什么区别?
- Introduction to common components of IOT low code platform
- 安杰思医学冲刺科创板:年营收3亿 拟募资7.7亿
- How can I get the stock account opening discount link? Is it safe to open a mobile account?
猜你喜欢
Flutter series: offstage in flutter
Recommended practice sharing of Zhilian recruitment based on Nebula graph
[spatial & single cellomics] phase 1: Study on PDAC tumor microenvironment by single cell binding spatial transcriptome
快手投资电商服务商易心优选
3. caller service call - dapr
Youju new material rushes to Shenzhen Stock Exchange: it plans to raise 650million yuan, with an annual revenue of 333million yuan
美国乔布斯,殁了;中国乔布斯,卖了
Adding virtual environments to the Jupiter notebook
【空间&单细胞组学】第1期:单细胞结合空间转录组研究PDAC肿瘤微环境
荐书丨《大脑通信员》:如果爱情只是化学反应,那还能相信爱情吗?
随机推荐
Angers medical sprint scientific innovation board: annual revenue of RMB 300million and proposed fund raising of RMB 770million
Clipping of raster vector data
Leetcode (665) -- non decreasing column
Leetcode(167)——两数之和 II - 输入有序数组
老板嘱咐了三遍:低调、低调、低调
2022年焊工(技师)考试题库模拟考试平台操作
【空间&单细胞组学】第1期:单细胞结合空间转录组研究PDAC肿瘤微环境
力扣解法汇总522-最长特殊序列 II
ArcGIS vector center point generates rectangle and cuts TIF image for deep learning sample training
2022 welder (technician) examination question bank simulated examination platform operation
单一职责原则
新零售线下店逆势起飞,通膨乌云下的消费热情
不要使用短路逻辑编写 stl sorter 多条件比较
Kwai investment e-commerce service provider Yixin optimization
有效提高绩效面谈的10个关键点
[Zhongyi Xinsheng] 5 SPI interface test TF Card
叮!Techo Day 腾讯技术开放日如约而至!
The boss told me three times: low key, low key, low key
Seata数据库中出现以下问题要怎么解决啊?
Foreign trade SEO Webmaster Tools