diff --git a/doc/CommandReference.html b/doc/CommandReference.html index a00c4c47..aa1f0e9f 100644 --- a/doc/CommandReference.html +++ b/doc/CommandReference.html @@ -34,7 +34,7 @@
Select the DB having the specified index
Move the key from the currently selected DB to the DB having as index dbindex
Remove all the keys of the currently selected DB
Remove all the keys from all the databases
Sort a Set or a List accordingly to the specified parameters
Synchronously save the DB on disk
Asynchronously save the DB on disk
Return the UNIX time stamp of the last successfully saving of the dataset on disk
Synchronously save the DB on disk, then shutdown the server
Provide information and statistics about the server
Dump all the received requests in real time
Provide information and statistics about the server
Dump all the received requests in real time
Change the replication settings
The SLAVEOF command can change the replication settings of a slave on the fly.If a Redis server is arleady acting as slave, the command+SLAVEOF NO ONE
will turn off the replicaiton turning the Redis server into a MASTER.In the proper formSLAVEOF hostname port
will make the server a slave of thespecific server listening at the specified hostname and port.
If a server is already a slave of some master, SLAVEOF hostname port
willstop the replication against the old server and start the synchrnonizationagainst the new one discarding the old dataset.
+The form SLAVEOF no one
will stop replication turning the server into aMASTER but will not discard the replication. So if the old master stop workingit is possible to turn the slave into a master and set the application touse the new master in read/write. Later when the other Redis server will befixed it can be configured in order to work as slave.
+