hiredis-vip icon indicating copy to clipboard operation
hiredis-vip copied to clipboard

Cluster password support

Open gongzhxu opened this issue 8 years ago • 7 comments

how can i auth when i set the password

gongzhxu avatar Jul 29 '16 08:07 gongzhxu

Password of redis cluster for hiredis-vip now is not support.

deep011 avatar Aug 01 '16 08:08 deep011

the feature is supported : https://github.com/deep011/redis-cluster-tool/pull/5&& vipshop/hiredis-vip#22 @deep011 please review and merge

andyli029 avatar Nov 09 '16 07:11 andyli029

I would love to see this merged to master.

ridelabs avatar Feb 01 '17 01:02 ridelabs

I think it is better redesign the cluster api to set some options for cluster context, and they may be as the following:

redisClusterContext *redisClusterContextCreate(const char *addrs);
int redisClusterContextSetReadSlave(redisClusterContext *cc, int flags);
int redisClusterContextSetPasswd(redisClusterContext *cc, const char *password);
int redisClusterConnect(redisClusterContext *cc);

I will think over it and finish it recently.

deep011 avatar Feb 07 '17 02:02 deep011

I am eager for the cluster api supported passwd auth. @deep011 Come On!

handsomeZWF avatar May 08 '17 14:05 handsomeZWF

@deep011 did you finish it for api supported passwd auth?

Penetrate3D avatar Jun 22 '18 05:06 Penetrate3D

I have one works well so far: https://github.com/yanpengwang/hiredis-vip

yanpengwang avatar Sep 20 '18 11:09 yanpengwang