Workhorse: Switch to go-redis client
Currently Workhorse relies on two Redis packages:
https://github.com/redis/go-redis appears to be the official Redis Go client and supports Redis Sentinel and Cluster out-of-the-box. Plus, I believe it handles the case when TLS is used for all Redis communication (tls-replication yes
), whereas our Sentinel dialer assumes TCP: https://gitlab.com/gitlab-org/gitlab/-/blob/e4f942238223a5f4485553157150b32017ca8716/workhorse/internal/redis/redis.go#L166