Skip to content

Commit 48b0637

Browse files
authored
Merge pull request #13 from codingapi/master
Master
2 parents 8501c89 + 7d07c65 commit 48b0637

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

_data/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
- title: TX-LCN
1414
docs:
1515
- txlcn-index
16-
- txlcn-lessson01
17-
- txlcn-lessson02
16+
- txlcn-lesson01
17+
- txlcn-lesson02

_docs/txlcn/lessson01.md renamed to _docs/txlcn/lesson01.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: 分布式事务从0到1-认识分布式事务
3-
permalink: /docs/txlcn-lessson01/
3+
permalink: /docs/txlcn-lesson01/
44
---
55

66
<iframe src="//player.bilibili.com/player.html?aid=80626430&page=1"

_docs/txlcn/lessson02.md renamed to _docs/txlcn/lesson02.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
title: 分布式事务从0到1-了解TX-LCN原理
3-
permalink: /docs/txlcn-lessson02/
3+
permalink: /docs/txlcn-lesson02/
44
---
55

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>
78
本节课讲解的主要内容是TX-LCN分布式事务的原理介绍。
89

910
### TX-LCN的核心控制流程
@@ -110,8 +111,12 @@ A ->B2.two();
110111

111112
控制在同一次事务下同一个被负载的模块被重复调用时将只会请求到第一次被选中的模块。
112113

114+
113115
### 保障机制与补偿
114116

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+
115120
#### 超时机制
116121
当业务模块在接受到事务请求,并完成响应以后会自动加入定时任务,等待TM通知,若TM迟迟不通知则触发TC主动请求的状况,若TC没有请求到数据就记录补偿(回滚事务)。
117122
#### TM清理机制

0 commit comments

Comments
 (0)