Salvatore,
Sorry to thread-jack, but how do sentinels discover slave listening
port information?
I've looked through the spec document and the general documentation,
and neither mentions how it happens. As far as I can tell, slaves are
not sending their host/port information to the master, so the master
doesn't know about IP/port information. Also, sentinel configuration
makes no mention of slaves to be monitored, and the spec says that all
sentinels connect and check on all slaves of all configured masters.
Am I missing something obvious? How is a sentinel to know that slave X
is listening on IP Y and port Z (where Z != 6379), if it only knows
about the master?
Regards,
- Josiah