dragonfly
dragonfly copied to clipboard
Print replica port in ROLE
Can you expand, please?
We now track the replica port and store it in ReplicaRoleInfo, but don't print it in the ROLE command, only the ip
@ashotland Do you know why Redis print replica port in Role? When it is used? In Dragonfly we open multiple connections so we can not blindly implement this feature.
its the replica's external listening port, its sent during greet
@ashotland Do you know why Redis print replica port in Role? When it is used? In Dragonfly we open multiple connections so we can not blindly implement this feature.
I don't know a reason to consume replica pot from role command maybe it is just for consistency with info replication (which we had to fix for the sentinel support). There's a lot of overlap between the two commands.