can I use Sentinel and wait command make a strong consensus cluster?

36 views
Skip to first unread message

杨普光

unread,
Nov 12, 2021, 8:21:30 AM11/12/21
to Redis DB
Sorry , I am not good at English.
In section  'Example 2: basic setup with three boxes'。
if C1 always use wait command for waiting data copy to majority of redis cluster. 
Is it  strong consensus?

Itamar Haber

unread,
Nov 12, 2021, 8:24:54 AM11/12/21
to Redis DB
Hello Yang,

Yes, in that example if C1 uses the `WAIT 2` command, that will ensure that the replicas are in sync with the master so from C1's point of view there wouldn't be any lost writes.

Cheers,
Itamar

Reply all
Reply to author
Forward
0 new messages