I don’t know if it’s me but, sometimes I find the instructions really ambiguous or incomplete.
We are supposed to retun master_replid
and master_repl_offset
as part of the INFO command.
Those informations are specific to the master. However, we are also supposed to reply when the current server is a “replica”.
In that case, what about master_replid
and master_repl_offset
?
Should we omit them? Return empty values?