Complete the code to start a Redis synchronization with the master.
redis-cli [1]The sync command starts the synchronization process between Redis master and replica.
Complete the code to configure a Redis replica to connect to its master.
replicaof [1] [2]
The replicaof command requires the master's IP and port. The default Redis port is 6379.
Complete the command to stop replication.
replicaof [1] [2]
To stop replication, use replicaof no one.
Fill both blanks to configure a Redis replica with IP and port.
replicaof [1] [2]
Use the master's IP and default port 6379 to configure the replica.
Fill all three blanks to create a Redis replica and start sync.
replicaof [1] [2] redis-cli [3]
First, set replicaof with IP and port, then run sync to start synchronization.
