gnocchixyz / gnocchi

Timeseries database
Apache License 2.0
298 stars 84 forks source link

Redis: Fix sentinel fallbacks with IPv6 address #1374

Closed kajinamit closed 4 months ago

kajinamit commented 4 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.