The Microsoft Distributed Transaction Coordinator (MS DTC) has cancelled the distributed transaction

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了The Microsoft Distributed Transaction Coordinator (MS DTC) has cancelled the distributed transaction相关的知识,希望对你有一定的参考价值。

同事反馈一个系统在运行一个存储过程时遇到了下面错误:

 

Msg 1206, Level 18, State 169, Procedure xxxxxx, Line 118
The Microsoft Distributed Transaction Coordinator (MS DTC) has cancelled the distributed transaction.


费了九牛二虎之力才定位到是我们一个作业把对应的会话给Kill掉了(此作业按条件Kill掉那些阻塞其它会话的会话)。今天在测试服务器特意重现、测试、验证了这个问题。特此记录一下!因为这种分布式事务的问题确实不好定位,记录此案例,只是为遇到这种问题时提供一个思路!

以上是关于The Microsoft Distributed Transaction Coordinator (MS DTC) has cancelled the distributed transaction的主要内容,如果未能解决你的问题,请参考以下文章

论文精读Scaling distributed machine learning with the parameter server

论文精读Scaling distributed machine learning with the parameter server

git:distributed is the new centralized-part1

Leslie Lamport在其一篇影响深远的论文《Time,Clocks and the Ordering of Events in a Distributed System》

Software Architecture: The Hard Parts Modern Trade-Off Analyses for Distributed Architectures学习笔记

DTC服务启动提示:“Windows不能在本地计算机启动Distributed Transaction Coordinator。有关更多