mediocregopher / radix.v2

Redis client for Go
http://godoc.org/github.com/mediocregopher/radix.v2
MIT License
433 stars 92 forks source link

Configure the max-redirect count in cluster? #85

Closed beiping96 closed 6 years ago

beiping96 commented 6 years ago

https://github.com/mediocregopher/radix.v2/blob/596a3ed684d9390f4831d6800dffd6a6067933d5/cluster/cluster.go#L494-L504

Hey, I found something here, in radix.v2/cluster, we don't use the configuration for the max-redirect count, here are some error happened when the redis-nodes are doing rebalance(moving slots), maybe configure the redirect count is a better idea.

Thanks.