Skip to content

Commit

Permalink
Update ch5.md
Browse files Browse the repository at this point in the history
“request all the data changes that occurred during the time when the follower was disconnected.”

请求的是在从库断开其实发生的所有数据变更
  • Loading branch information
Zhaoyang committed Dec 7, 2021
1 parent 14f7fce commit 85bdf6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch5.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@

#### 从库失效:追赶恢复

在其本地磁盘上,每个从库记录从主库收到的数据变更。如果从库崩溃并重新启动,或者,如果主库和从库之间的网络暂时中断,则比较容易恢复:从库可以从日志中知道,在发生故障之前处理的最后一个事务。因此,从库可以连接到主库,并请求在从库断开连接时发生的所有数据变更。当应用完所有这些变化后,它就赶上了主库,并可以像以前一样继续接收数据变更流。
在其本地磁盘上,每个从库记录从主库收到的数据变更。如果从库崩溃并重新启动,或者,如果主库和从库之间的网络暂时中断,则比较容易恢复:从库可以从日志中知道,在发生故障之前处理的最后一个事务。因此,从库可以连接到主库,并请求在从库断开期间发生的所有数据变更。当应用完所有这些变化后,它就赶上了主库,并可以像以前一样继续接收数据变更流。

#### 主库失效:故障切换

Expand Down

0 comments on commit 85bdf6f

Please sign in to comment.