ssdb
ssdb copied to clipboard
[Announce]SSDB now supports slaveof command!
Since 1.9.7, SSDB supports slaveof command. Usage:
slaveof id host port [auth last_seq last_key]
This command will start replication from host:port, which is named id
, the sync point is defined by last_seq
and last_key
.
This command is helpul for data migration.
Is this a temporary command (when the sync finishes the slave will be deleted?) If not can you please also add a type definition so that the mirror type can be selected?
Also; can it be possible to add a slavedel or delslave command to delete slaves from the running configuration?
This will greatly improve SSDB in docker as it then can enable horizontal scaling and fault tolerance :-)
@rhessing
- mirror type will not be supported.
- I will consider
delslave
later, but not promised. However, a deleted slave will reconnect automatically, so delslave will make no sense.
But if this slave configuration via the cli temporary or permanent until SSDB restarts?