Fix SDLCLI healthcheck to ignore ghost Sentinels 47/7447/2 v0.9.2
authorTimo Tietavainen <timo.tietavainen@nokia.com>
Tue, 21 Dec 2021 22:46:03 +0000 (00:46 +0200)
committerTimo Tietavainen <timo.tietavainen@nokia.com>
Wed, 22 Dec 2021 05:14:35 +0000 (07:14 +0200)
commit77dd13bfb2ac4eb9ab3a4dd79d7a09a8fdc6d299
treee011b62fdbc6afb7c4d399880e33b2c85a908617
parent2b62c749ada363a2f20fd8ae34f1a66ad12d307d
Fix SDLCLI healthcheck to ignore ghost Sentinels

Fix SDLCLI 'healthcheck' command to ignore Redis Sentinel entries what
have a zero port numbers, because these extra entries are not valid
entries but instead are caused by a bug (#9240) in Redis server. Until
there is a fix for the Redis server issue available, we ignore these
ghost Redis Sentinel entries from SDLCLI 'healthcheck' command's
validation.

Version: 0.9.2

Issue-Id: RIC-869

Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I4ba075cf66af98a59da8c558e9602ba1427fb8d9
docs/release-notes.rst
internal/sdlgoredis/sdlgoredis_test.go
internal/sdlgoredis/sdlgosentinel.go