mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 02:15:45 +02:00
refactor: set info_replication_valkey_compatible=true (#3467)
* refactor: set info_replication_valkey_compatible=true * test: mark test_cluster_replication_migration as skipped because it's broken
This commit is contained in:
parent
5258bbacd1
commit
48a28c3ea3
5 changed files with 18 additions and 16 deletions
|
@ -234,7 +234,7 @@ def attach(args):
|
|||
if args.attach_as_replica:
|
||||
newcomer = Node(args.attach_host, args.attach_port)
|
||||
replica_resp = send_command(newcomer, ["info", "replication"])
|
||||
if replica_resp["role"] != "replica":
|
||||
if replica_resp["role"] != "slave":
|
||||
die_with_err("Node is not in replica mode")
|
||||
if (
|
||||
replica_resp["master_host"] != args.target_host
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue