Home
last modified time | relevance | path

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

123456

/dports/databases/redis5/redis-5.0.14/tests/integration/
H A Dpsync2.tcl46 $R($master_id) slaveof no one
64 $R($slave_id) slaveof $master_host $master_port
122 $R($master_id) slaveof 127.0.0.1 0 ;# We use port zero to make it fail.
149 $R($master_id) slaveof no one
154 $R($j) slaveof $master_host $master_port
206 $R($slave_id) slaveof 127.0.0.1 0
221 $R($slave_id) slaveof $master_host $master_port
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
279 $slave 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 Dpsync2-reg.tcl26 $R(1) slaveof $R_host(0) $R_port(0)
27 $R(2) slaveof $R_host(0) $R_port(0)
/dports/databases/py-aioredis/aioredis-1.3.1/tests/
H A Dconftest.py178 start_server('slave-no-fail', slaveof=master_no_fail)
181 start_server('slaveA', slaveof=masterA)
280 def maker(name, config_lines=None, *, slaveof=None, password=None): argument
281 assert slaveof is None or isinstance(slaveof, RedisServer), slaveof
312 if slaveof is not None:
314 .format(slaveof))
334 if slaveof is not None:
337 str(slaveof.tcp_address.host),
338 str(slaveof.tcp_address.port),
359 if slaveof is not None:
H A Dsentinel_failover_test.py21 start_server('slave-failover1', ['slave-read-only yes'], slaveof=server1)
22 start_server('slave-failover2', ['slave-read-only yes'], slaveof=server1)
166 start_server('slave-failover-cmd', ['slave-read-only yes'], slaveof=server)
/dports/databases/redis-devel/redis-0e5b813/tests/integration/
H A Dreplication.tcl29 $slave slaveof $master_host $master_port
64 $A slaveof $B_host $B_port
164 $A slaveof no one
165 $B slaveof $A_host $A_port
200 r slaveof [srv -1 host] [srv -1 port]
352 $slave slaveof $master_host $master_port
1054 $slave1 slaveof no one
1060 $slave2 slaveof no one
1079 $slave1 slaveof no one
1080 $slave2 slaveof no one
[all …]
H A Dpsync2.tcl120 $R($master_id) slaveof no one
198 $R($slave_id) slaveof $master_host $master_port
325 $R($master_id) slaveof no one
330 $R($j) slaveof $master_host $master_port
396 $R($slave_id) slaveof 127.0.0.1 0
412 $R($slave_id) slaveof $master_host $master_port
H A Dreplication-4.tcl14 $slave slaveof $master_host $master_port
50 $slave slaveof $master_host $master_port
96 $slave slaveof $master_host $master_port
130 $slave slaveof $master_host $master_port
H A Dpsync2-reg.tcl27 $R(1) slaveof $R_host(0) $R_port(0)
28 $R(2) slaveof $R_host(0) $R_port(0)
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/siddontang/ledisdb/cmd/ledis-server/
H A Dmain.go25 var slaveof = flag.String("slaveof", "", "make the server a slave of another instance") var
81 if len(*slaveof) > 0 {
82 cfg.SlaveOf = *slaveof
/dports/editors/helix/helix-0.5.0/helix-syntax/languages/tree-sitter-c/examples/
H A Dcluster.c686 node->slaveof = NULL; in createClusterNode()
849 if (nodeIsSlave(n) && n->slaveof) clusterNodeRemoveSlave(n->slaveof,n); in freeClusterNode()
1482 if (n->slaveof) { in clusterSetNodeAsMaster()
1488 n->slaveof = NULL; in clusterSetNodeAsMaster()
2230 memcpy(hdr->slaveof,myself->slaveof->name, CLUSTER_NAMELEN); in clusterBuildMessageHdr()
2450 (node->slaveof == myself || node->slaveof == myself->slaveof); in clusterBroadcastPong()
2761 if (myself->slaveof && in clusterLogCantFailover()
3437 myself->slaveof && in clusterCron()
3440 replicationSetMaster(myself->slaveof->ip, myself->slaveof->port); in clusterCron()
3810 myself->slaveof = n; in clusterSetMaster()
[all …]
/dports/databases/redis6/redis-6.0.16/src/
H A Dcluster.c784 node->slaveof = NULL; in createClusterNode()
948 if (nodeIsSlave(n) && n->slaveof) clusterNodeRemoveSlave(n->slaveof,n); in freeClusterNode()
1594 if (n->slaveof) { in clusterSetNodeAsMaster()
1600 n->slaveof = NULL; in clusterSetNodeAsMaster()
2437 memcpy(hdr->slaveof,myself->slaveof->name, CLUSTER_NAMELEN); in clusterBuildMessageHdr()
2657 (node->slaveof == myself || node->slaveof == myself->slaveof); in clusterBroadcastPong()
3027 if (myself->slaveof && in clusterLogCantFailover()
3695 myself->slaveof && in clusterCron()
3698 replicationSetMaster(myself->slaveof->ip, myself->slaveof->port); in clusterCron()
4076 myself->slaveof = n; in clusterSetMaster()
[all …]
/dports/databases/redis5/redis-5.0.14/src/
H A Dcluster.c731 node->slaveof = NULL; in createClusterNode()
895 if (nodeIsSlave(n) && n->slaveof) clusterNodeRemoveSlave(n->slaveof,n); in freeClusterNode()
1538 if (n->slaveof) { in clusterSetNodeAsMaster()
1544 n->slaveof = NULL; in clusterSetNodeAsMaster()
2327 memcpy(hdr->slaveof,myself->slaveof->name, CLUSTER_NAMELEN); in clusterBuildMessageHdr()
2547 (node->slaveof == myself || node->slaveof == myself->slaveof); in clusterBroadcastPong()
2915 if (myself->slaveof && in clusterLogCantFailover()
3610 myself->slaveof && in clusterCron()
3613 replicationSetMaster(myself->slaveof->ip, myself->slaveof->port); in clusterCron()
3991 myself->slaveof = n; in clusterSetMaster()
[all …]
/dports/databases/redis6/redis-6.0.16/tests/integration/
H A Dpsync2.tcl119 $R($master_id) slaveof no one
138 $R($slave_id) slaveof $master_host $master_port
253 $R($master_id) slaveof no one
258 $R($j) slaveof $master_host $master_port
324 $R($slave_id) slaveof 127.0.0.1 0
340 $R($slave_id) slaveof $master_host $master_port
H A Dreplication.tcl29 $slave slaveof $master_host $master_port
64 $A slaveof $B_host $B_port
106 $A slaveof no one
107 $B slaveof $A_host $A_port
141 r slaveof [srv -1 host] [srv -1 port]
221 [lindex $slaves 0] slaveof $master_host $master_port
222 [lindex $slaves 1] slaveof $master_host $master_port
223 [lindex $slaves 2] slaveof $master_host $master_port
295 $slave slaveof $master_host $master_port
356 $slave slaveof $master_host $master_port
H A Dreplication-4.tcl14 $slave slaveof $master_host $master_port
57 $slave slaveof $master_host $master_port
99 $slave slaveof $master_host $master_port
H A Dpsync2-reg.tcl27 $R(1) slaveof $R_host(0) $R_port(0)
28 $R(2) slaveof $R_host(0) $R_port(0)
/dports/databases/redis-devel/redis-0e5b813/src/
H A Dcluster.c877 node->slaveof = NULL; in createClusterNode()
1042 if (nodeIsSlave(n) && n->slaveof) clusterNodeRemoveSlave(n->slaveof,n); in freeClusterNode()
1692 if (n->slaveof) { in clusterSetNodeAsMaster()
1698 n->slaveof = NULL; in clusterSetNodeAsMaster()
2552 memcpy(hdr->slaveof,myself->slaveof->name, CLUSTER_NAMELEN); in clusterBuildMessageHdr()
2775 (node->slaveof == myself || node->slaveof == myself->slaveof); in clusterBroadcastPong()
3151 if (myself->slaveof && in clusterLogCantFailover()
3811 myself->slaveof && in clusterCron()
3814 replicationSetMaster(myself->slaveof->ip, myself->slaveof->port); in clusterCron()
4203 myself->slaveof = n; in clusterSetMaster()
[all …]
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/siddontang/ledisdb/server/
H A Dcmd_replication.go45 if err := c.app.slaveof(masterAddr, restart, readonly); err != nil {
196 slaveof := c.app.cfg.SlaveOf
199 isMaster := len(slaveof) == 0
227 host, port, _ := splitHostPort(slaveof)
/dports/textproc/augeas/augeas-1.12.0/lenses/
H A Dredis.aug56 let reserved_k = "save" | "rename-command" | "slaveof"
74 let slaveof = /slaveof/ var
78 Entries identified by the "slaveof" keyword can be found more than once. They
83 let slaveof_entry = [ indent . key slaveof . del_ws_spc . ip . del_ws_spc . port . eol ]
/dports/databases/redis5/redis-5.0.14/tests/sentinel/tests/
H A D07-down-conditions.tcl47 R 0 slaveof 127.0.0.1 34567
49 R 0 slaveof no one
/dports/databases/redis6/redis-6.0.16/tests/sentinel/tests/
H A D07-down-conditions.tcl49 R 0 slaveof 127.0.0.1 34567
51 R 0 slaveof no one
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/siddontang/ledisdb/doc/
H A DReplication.md63 Using replication is very simple for LedisDB, only using `slaveof` command.
65 + Use `slaveof host port` to enable replication from master at "host:port".
66 + Use `slaveof no one` to stop replication and change the slave to master.
68 …hen uses `slaveof` to sync from master B, it will sync with the LogID = LastLogID + 1. If you want…
/dports/databases/redis-devel/redis-0e5b813/tests/sentinel/tests/
H A D07-down-conditions.tcl66 R 0 slaveof 127.0.0.1 34567
68 R 0 slaveof no one

123456