Home
last modified time | relevance | path

Searched refs:quorum (Results 1 – 5 of 5) sorted by relevance

/f-stack/app/redis-5.0.5/tests/sentinel/tests/
H A D00-base.tcl54 S $id SENTINEL SET mymaster quorum [expr $sentinels+1]
69 S $id SENTINEL SET mymaster quorum $quorum
73 for {set id 0} {$id < $quorum} {incr id} {
81 set addr [S $quorum SENTINEL GET-MASTER-ADDR-BY-NAME mymaster]
86 for {set id 0} {$id < $quorum} {incr id} {
93 S $id SENTINEL SET mymaster quorum $sentinels
120 S $id SENTINEL SET mymaster quorum $quorum
H A D06-ckquorum.tcl14 S 0 SENTINEL SET mymaster quorum [expr {$num_sentinels+1}]
17 S 0 SENTINEL SET mymaster quorum $orig_quorum
22 S 0 SENTINEL SET mymaster quorum 1
29 S 0 SENTINEL SET mymaster quorum $orig_quorum
H A D07-down-conditions.tcl23 for {set id 0} {$id < $quorum} {incr id} {
/f-stack/app/redis-5.0.5/tests/sentinel/tests/includes/
H A Dinit-tests.tcl29 set quorum [expr {$sentinels/2+1}]
33 [get_instance_attrib redis $master_id port] $quorum
/f-stack/app/redis-5.0.5/src/
H A Dsentinel.c1228 ri->quorum = quorum; in createSentinelRedisInstance()
1617 int quorum = atoi(argv[4]); in sentinelHandleConfiguration() local
1783 master->quorum); in rewriteConfigSentinelOption()
2857 addReplyBulkLongLong(c,ri->quorum); in addReplySentinelRedisInstance()
3118 long quorum, port; in sentinelCommand() local
3127 if (quorum <= 0) { in sentinelCommand()
3498 ri->quorum = ll; in sentinelSetCommand()
3649 unsigned int quorum = 0, odown = 0; in sentinelCheckObjectivelyDown() local
3653 quorum = 1; /* the current sentinel. */ in sentinelCheckObjectivelyDown()
3662 if (quorum >= master->quorum) odown = 1; in sentinelCheckObjectivelyDown()
[all …]