ortoo/node-redis-sentinel — pull request #23 by panva (2014-11-07 14:48:40+00:00)
Title: fix: Reconnect process crash

node_redis reconnects using self.connectionOption object (https://github.com/mranney/node_redis/blob/master/index.js#L535), this property does not get set when net.Socket is passed in to the RedisClient constructor.

As a workaround set the property whenever `refreshEndpoints` is successful in resolving new master.

Is this due to node_redis version updates? Were there changes in the way redis stores the host and port for reconnect purposes?