File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ title: 分布式事务从0到1-了解TX-LCN原理
3
3
permalink : /docs/txlcn-lesson02/
4
4
---
5
5
6
- ![ ] ( /img/WX20191220-102719.png )
6
+ <iframe src="//player.bilibili.com/player.html?aid=80676649&cid=138066500&page=1"
7
+ scrolling="no" border="0" frameborder="no" width="100%" height="600px" framespacing="0" allowfullscreen="true"> </iframe >
7
8
本节课讲解的主要内容是TX-LCN分布式事务的原理介绍。
8
9
9
10
### TX-LCN的核心控制流程
@@ -110,8 +111,12 @@ A ->B2.two();
110
111
111
112
控制在同一次事务下同一个被负载的模块被重复调用时将只会请求到第一次被选中的模块。
112
113
114
+
113
115
### 保障机制与补偿
114
116
117
+ <iframe src="//player.bilibili.com/player.html?aid=80676836&cid=138067157&page=1" scrolling="no" border="0"
118
+ width="100%" height="600px" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe >
119
+
115
120
#### 超时机制
116
121
当业务模块在接受到事务请求,并完成响应以后会自动加入定时任务,等待TM通知,若TM迟迟不通知则触发TC主动请求的状况,若TC没有请求到数据就记录补偿(回滚事务)。
117
122
#### TM清理机制
You can’t perform that action at this time.
0 commit comments