mirror of https://github.com/redis/redis.git
Fix 'salve' typos to 'slave'
This commit is contained in:
parent
c77081a45a
commit
5ed297e088
|
@ -1425,7 +1425,7 @@ void backgroundSaveDoneHandlerDisk(int exitcode, int bysignal) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* A background saving child (BGSAVE) terminated its work. Handle this.
|
/* A background saving child (BGSAVE) terminated its work. Handle this.
|
||||||
* This function covers the case of RDB -> Salves socket transfers for
|
* This function covers the case of RDB -> Slaves socket transfers for
|
||||||
* diskless replication. */
|
* diskless replication. */
|
||||||
void backgroundSaveDoneHandlerSocket(int exitcode, int bysignal) {
|
void backgroundSaveDoneHandlerSocket(int exitcode, int bysignal) {
|
||||||
uint64_t *ok_slaves;
|
uint64_t *ok_slaves;
|
||||||
|
|
|
@ -113,7 +113,7 @@ foreach dl {no yes} {
|
||||||
start_server {} {
|
start_server {} {
|
||||||
lappend slaves [srv 0 client]
|
lappend slaves [srv 0 client]
|
||||||
test "Connect multiple slaves at the same time (issue #141), diskless=$dl" {
|
test "Connect multiple slaves at the same time (issue #141), diskless=$dl" {
|
||||||
# Send SALVEOF commands to slaves
|
# Send SLAVEOF commands to slaves
|
||||||
[lindex $slaves 0] slaveof $master_host $master_port
|
[lindex $slaves 0] slaveof $master_host $master_port
|
||||||
[lindex $slaves 1] slaveof $master_host $master_port
|
[lindex $slaves 1] slaveof $master_host $master_port
|
||||||
[lindex $slaves 2] slaveof $master_host $master_port
|
[lindex $slaves 2] slaveof $master_host $master_port
|
||||||
|
|
Loading…
Reference in New Issue