gnocchixyz / gnocchi

Timeseries database
Apache License 2.0
302 stars 85 forks source link

Redis: Fix sentinel fallbacks with IPv6 address (backport #1374) #1403

Closed mergify[bot] closed 3 months ago

mergify[bot] commented 3 months ago

This fixes how the logic parses host and port from sentinel fallbacks when the host is IPv6 address. We should not use bare split by ':' because ':' is used within address representations like [::1]:6379.


This is an automatic backport of pull request #1374 done by Mergify.