redis / go-redis

Redis Go client
https://redis.uptrace.dev
BSD 2-Clause "Simplified" License
19.95k stars 2.36k forks source link

Fix DisableIdentity and IdentitySuffix option forwarding" #2923

Open reenjii opened 7 months ago

reenjii commented 7 months ago

Fix #2911

DisableIdentity and IdentitySuffix options are not correctly forwarded by sentinelOptions and clusterOptions.

Because 9.5.0 now uses redis 7.2 setinfo options by default, this breakd older redis versions unless DisableIdentity is used.

It still breakd FailoverClients since DisableIdentity is not forwarded to base client.