当前位置:网站首页>Seata数据库中出现以下问题要怎么解决呀?
Seata数据库中出现以下问题要怎么解决呀?
2022-06-28 14:41:00 【阿里云问答】
Seata数据库中出现以下问题要怎么解决呀? Could not found global transaction xid = %s, may be has finished.
采纳答案1:
举例说明: @GlobalTransactional(timeout=60000) public void A(){ call remoting B();//远程调用B服务 local DB operation;
}
public void B(){
}
可能原因:
A 执行的总体时间超过了60000ms,导致全局事务发起了全局回滚,此时A或B方法继续执行DB操作,校验全局事务状态,发现全局事务已经回滚。 B服务执行超出其设定的readTimeout 返回异常给A并将异常抛出导致全局事务回滚,此时B服务执行DB操作时,校验全局事务状态,发现全局事务已经回滚。 影响:出现这种情况时,数据会整体回滚至A方法执行前的数据的初态,从数据一致性的视角上看,数据是整体一致的。 此答案整理自钉钉群“3群-Seata 开源讨论群”
边栏推荐
- 2022 questions d'examen pour les cuisiniers chinois (Senior) et l'examen de simulation en ligne
- Youju new material rushes to Shenzhen Stock Exchange: it plans to raise 650million yuan, with an annual revenue of 333million yuan
- 竞远安全冲刺创业板:拟募资4亿 启元投资与云游软件是股东
- Navicat Premium 16 永久破解激活工具及安装教程(亲测可用)
- 哪个证券公司最大最安全 怎么办理开户最安全
- Leetcode(665)——非递减数列
- 组合总和-Leetcode
- Navicat premium 16 permanent crack activation tool and installation tutorial (available for personal test)
- Euler equation: a truly perfect formula in the history of mathematics!
- Mulan open work license 1.0 open to the public for comments
猜你喜欢

推荐四款可视化工具,解决 99% 的可视化大屏项目!

Rslo: self supervised lidar odometer (real time + high precision, icra2022)

基于asp.net的文献检索系统

Tencent was underweight again by prosus, the major shareholder: the latter also cashed out $3.7 billion from JD

干货 | 科研人的KPI怎么算,H指数和G指数是什么

荐书丨《大脑通信员》:如果爱情只是化学反应,那还能相信爱情吗?

Work study management system based on ASP

Euler equation: a truly perfect formula in the history of mathematics!

字节跳动埋点数据流建设与治理实践

What is the renewal fee for PMP certificate?
随机推荐
快手投资电商服务商易心优选
外贸SEO 站长工具
Navicat Premium 16 永久破解激活工具及安装教程(亲测可用)
力扣解法汇总522-最长特殊序列 II
dolphinscheduler2.X的安装(亲测有效)
Maingene listed on the Hong Kong Stock Exchange: IPO with a market value of HK $4.3 billion was ignored by the market
竞远安全冲刺创业板:拟募资4亿 启元投资与云游软件是股东
[MySQL learning notes 24] index design principles
等保备案主体是谁?在当地网安进行备案是吗?
After nearly 20 years of operation, the Mars probe software based on win 98 has been upgraded for the first time
VPS是干嘛用的?有哪些知名牌子?与云服务器有什么区别?
Foreign trade SEO Webmaster Tools
Quantum frontier hero spectrum - "light quantum Explorer" McMahon: turning any physical system into a neural network
推荐四款可视化工具,解决 99% 的可视化大屏项目!
Robot range of motion (DFS)
量子前沿英雄谱|“光量子探险家”McMahon:将任何物理系统变成神经网络
[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
Numbers that only appear once
Is it safe to open an account on the flush
What is the progress of China open source with 7.55 million developers?