ortoo/node-redis-sentinel — pull request #25 by ldm5180 (2014-11-20 18:12:01+00:00)
Title: Pub/Sub subscribe to +switch-master events.

The master can change even without a disconnect happening to the client. In order to get this change the clients must subscribe to the +switch-master message. This needs to be subscribed before the client connection is established to avoid race conditions.