Searched refs:mymaster (Results 1 – 9 of 9) sorted by relevance
13 set addr [S 0 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster]24 set addr [S 0 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster]54 S $id SENTINEL SET mymaster quorum [expr $sentinels+1]57 set addr [S 0 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster]62 set addr [S 0 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster]69 S $id SENTINEL SET mymaster quorum $quorum81 set addr [S $quorum SENTINEL GET-MASTER-ADDR-BY-NAME mymaster]93 S $id SENTINEL SET mymaster quorum $sentinels99 [dict get [S $id SENTINEL MASTER mymaster] info-refresh] < 100000115 set addr [S 0 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster][all …]
8 assert_match "*OK $num_sentinels usable*" [S $id SENTINEL CKQUORUM mymaster]14 S 0 SENTINEL SET mymaster quorum [expr {$num_sentinels+1}]15 catch {[S 0 SENTINEL CKQUORUM mymaster]} err17 S 0 SENTINEL SET mymaster quorum $orig_quorum22 S 0 SENTINEL SET mymaster quorum 127 catch {[S 0 SENTINEL CKQUORUM mymaster]} err29 S 0 SENTINEL SET mymaster quorum $orig_quorum
7 [dict get [S 4 sentinel master mymaster] flags] eq "master"16 [dict get [S 4 sentinel master mymaster] flags]]29 lassign [S 4 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster] host port37 lassign [S 4 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster] host port74 S 4 SENTINEL SET mymaster rename-command PING PONG76 S 4 SENTINEL SET mymaster rename-command PING PING
7 set addr [S 0 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster]17 [lindex [S $id SENTINEL GET-MASTER-ADDR-BY-NAME mymaster] 1] != $old_port24 set addr [S 0 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster]31 [lindex [S 1 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster] 1] != $old_port
7 set addr [S 0 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster]9 catch {S 0 SENTINEL FAILOVER mymaster} reply13 [lindex [S $id SENTINEL GET-MASTER-ADDR-BY-NAME mymaster] 1] != $old_port18 set addr [S 0 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster]
32 set addr [S 0 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster]37 [lindex [S $id SENTINEL GET-MASTER-ADDR-BY-NAME mymaster] 1] != $old_port43 set addr [S 0 SENTINEL GET-MASTER-ADDR-BY-NAME mymaster]70 if {[dict exists [S $id SENTINEL MASTER mymaster] failover-state]} {
17 catch {S $id SENTINEL REMOVE mymaster}31 S $id SENTINEL MONITOR mymaster \36 assert {[S $id sentinel master mymaster] ne {}}37 S $id SENTINEL SET mymaster down-after-milliseconds 200038 S $id SENTINEL SET mymaster failover-timeout 2000039 S $id SENTINEL SET mymaster parallel-syncs 1046 [catch {S $id SENTINEL GET-MASTER-ADDR-BY-NAME mymaster}] == 057 [dict get [S $id SENTINEL MASTER mymaster] num-other-sentinels] == ($sentinels-1)67 [dict get [S $id SENTINEL MASTER mymaster] num-slaves] == $redis_slaves
84 sentinel monitor mymaster 127.0.0.1 6379 2113 sentinel down-after-milliseconds mymaster 30000121 sentinel parallel-syncs mymaster 1146 sentinel failover-timeout mymaster 180000
3146 clusterNode *mymaster = myself->slaveof, *target = NULL, *candidate = NULL; in clusterHandleSlaveMigration() local3155 if (mymaster == NULL) return; in clusterHandleSlaveMigration()3156 for (j = 0; j < mymaster->numslaves; j++) in clusterHandleSlaveMigration()3157 if (!nodeFailed(mymaster->slaves[j]) && in clusterHandleSlaveMigration()3158 !nodeTimedOut(mymaster->slaves[j])) okslaves++; in clusterHandleSlaveMigration()