I am unclear about min-slaves-to-write 1 min-slaves-max-lag 10

15 views
Skip to first unread message

sravs

unread,
Jun 7, 2018, 6:21:57 AM6/7/18
to Redis DB
Reading through https://redis.io/topics/sentinel , min-slaves-to-write 1 min-slaves-max-lag 10  these parameters seem to be helping avoid two master scenario.

How do they help avoid that scenarios ?


Abioy Sun

unread,
Oct 24, 2018, 9:07:28 AM10/24/18
to redi...@googlegroups.com
They don't.

Such configuration just help the old master M1 to stop from accepting writes in the specified case described in that section. 
In fact, M1 and C1 still don't know the new master for a while before the network healed.

sravs <ksr...@gmail.com> 于2018年6月7日周四 下午6:21写道:
Reading through https://redis.io/topics/sentinel , min-slaves-to-write 1 min-slaves-max-lag 10  these parameters seem to be helping avoid two master scenario.

How do they help avoid that scenarios ?


--
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redis-db+u...@googlegroups.com.
To post to this group, send email to redi...@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages