Possible to hot deactivate a master in mutli-master mode

Hello,

do you know if there is any way to remove a replicaof via cli without restarting service ?

My goal is to import data from an old cluster to a new one, i could add one of the old cluster node as masterof via cli but didn’t figure how to remove it (replicaof no one would break my actual cluster).

Regards,
David

Hi David
To remove a single master M from a network topology. :

  1. For master M, execute replicaof no one
  2. For every other master that is a replicaof M, execute replicaof remove <ip> <port>

Where <ip> and <port> is the ip/port of M