Home
last modified time | relevance | path

Searched refs:slaveof (Results 1 – 15 of 15) sorted by relevance

/redis-3.2.3/tests/integration/
H A Dreplication.tcl29 $slave slaveof $master_host $master_port
64 $A slaveof $B_host $B_port
99 $A slaveof no one
100 $B slaveof $A_host $A_port
134 r slaveof [srv -1 host] [srv -1 port]
206 [lindex $slaves 0] slaveof $master_host $master_port
207 [lindex $slaves 1] slaveof $master_host $master_port
208 [lindex $slaves 2] slaveof $master_host $master_port
H A Dreplication-4.tcl23 $slave slaveof $master_host $master_port
66 $slave slaveof $master_host $master_port
108 $slave slaveof $master_host $master_port
H A Dreplication-3.tcl4 r -1 slaveof [srv 0 host] [srv 0 port]
39 r -1 slaveof [srv 0 host] [srv 0 port]
H A Dreplication-2.tcl4 r -1 slaveof [srv 0 host] [srv 0 port]
H A Dreplication-psync.tcl39 $slave slaveof $master_host $master_port
/redis-3.2.3/src/
H A Dcluster.c667 node->slaveof = NULL; in createClusterNode()
829 if (nodeIsSlave(n) && n->slaveof) clusterNodeRemoveSlave(n->slaveof,n); in freeClusterNode()
1418 if (n->slaveof) { in clusterSetNodeAsMaster()
1424 n->slaveof = NULL; in clusterSetNodeAsMaster()
2140 memcpy(hdr->slaveof,myself->slaveof->name, CLUSTER_NAMELEN); in clusterBuildMessageHdr()
2322 (node->slaveof == myself || node->slaveof == myself->slaveof); in clusterBroadcastPong()
2633 if (myself->slaveof && in clusterLogCantFailover()
3277 myself->slaveof && in clusterCron()
3280 replicationSetMaster(myself->slaveof->ip, myself->slaveof->port); in clusterCron()
3650 myself->slaveof = n; in clusterSetMaster()
[all …]
H A Dcluster.h91 struct clusterNode *slaveof; /* pointer to the master node. Note that it member
239 char slaveof[CLUSTER_NAMELEN]; member
/redis-3.2.3/tests/sentinel/tests/
H A D07-down-conditions.tcl47 R 0 slaveof 127.0.0.1 34567
49 R 0 slaveof no one
/redis-3.2.3/tests/cluster/
H A Dcluster.tcl19 slaveof [lindex $args 3] \
84 if {[dict get $me slaveof] eq {-}} {return $id}
/redis-3.2.3/tests/
H A Dinstances.tcl409 R $id slaveof no one
412 R $id slaveof [get_instance_attrib redis 0 host] \
416 R $id slaveof no one
/redis-3.2.3/tests/support/
H A Dcluster.tcl99 lassign $args nodeid addr flags slaveof pingsent pongrecv configepoch linkstate
117 slaveof $slaveof \
/redis-3.2.3/tests/cluster/tests/
H A D03-failover-loop.tcl30 if {[dict get [get_myself $id] slaveof] eq $myid} {
/redis-3.2.3/tests/unit/
H A Dscripting.tcl409 r slaveof 127.0.0.1 0
412 r slaveof no one
551 r -1 slaveof [srv 0 host] [srv 0 port]
634 r -1 slaveof [srv 0 host] [srv 0 port]
/redis-3.2.3/
H A DREADME.md122 % ./redis-server --port 9999 --slaveof 127.0.0.1 6379
H A D00-RELEASENOTES1608 node->slaveof pointers.