Skip to content

fix: valkey updater calculated wrong difference for update required detection#3935

Merged
szuecs merged 3 commits intomasterfrom
fix/valkey-updater
Mar 25, 2026
Merged

fix: valkey updater calculated wrong difference for update required detection#3935
szuecs merged 3 commits intomasterfrom
fix/valkey-updater

Conversation

@szuecs
Copy link
Copy Markdown
Member

@szuecs szuecs commented Mar 25, 2026

fix: valkey updater calculated wrong difference for update required detection

Problem showed up after a while when valkey instances were cycled and in the unlucky ordering of valkey IPs we do not detect that we need to update the instance list

…etection

Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
@szuecs szuecs added the bugfix Bug fixes and patches label Mar 25, 2026
szuecs added 2 commits March 25, 2026 15:54
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
@greeshma1196
Copy link
Copy Markdown
Collaborator

👍🏽

1 similar comment
@szuecs
Copy link
Copy Markdown
Member Author

szuecs commented Mar 25, 2026

👍

@szuecs szuecs merged commit aa183dd into master Mar 25, 2026
25 of 30 checks passed
@szuecs szuecs deleted the fix/valkey-updater branch March 25, 2026 20:00
want: []string{"1s"},
}} {
t.Run(tt.name, func(t *testing.T) {
if got := difference(tt.a, tt.b); len(got) != len(tt.want) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the function still in use?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes in some other part which needs set operations like it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Bug fixes and patches

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants