-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## **遇到过的sentinel failover过程的特例以及处理方式** | ||
------------------------------------------------------ | ||
|
||
本章节希望记录一些我们预料之外的事情,sentinel的行为与我们的理解或者预料不一样的情况。 | ||
|
||
**首先提一下,有一点分歧是, | ||
|
||
- 我们认为一个版本的epoch只有由一个sentinel来主导,并且 | ||
|
||
- 一个master同一时刻只能有一个sentinel来failover,即使两个sentinel以不同的epoch的名义来 | ||
failover也不行, | ||
|
||
这两点其实是一点,这两个假设跟作者的理解是有分歧的。具体后续会提到. | ||
我们不接受作者的观点的原因是,因为我们更加谨慎,希望通过以上假设,致力于摒弃掉一些极端情况, | ||
以避免它们可能带来的不确定性.** | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters