`SENTINEL masters` is used to discover the master for a given cluster, whereas `SENTINEL get-master-addr-by-name` should be used instead. See https://github.com/antirez/redis/issues/2615 for the issues that this causes.