Skip to content

Conversation

CharlieTLe
Copy link
Member

@CharlieTLe CharlieTLe commented Jul 9, 2025

Backporting 371b2af

…t, rejoins, but heartbeat is disabled

Signed-off-by: Charlie Le <[email protected]>
@CharlieTLe CharlieTLe force-pushed the patch-release-1.18.2 branch from 3860026 to d350ed8 Compare July 9, 2025 19:51
Signed-off-by: Daniel Sabsay <[email protected]>
Co-authored-by: Daniel Sabsay <[email protected]>
Signed-off-by: Friedrich Gonzalez <[email protected]>
@@ -684,6 +684,9 @@ func (i *Lifecycler) initRing(ctx context.Context) error {

level.Info(i.logger).Log("msg", "existing entry found in ring", "state", i.GetState(), "tokens", len(tokens), "ring", i.RingName)

// Update the address if it has changed
instanceDesc.Addr = i.Addr
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we up this with the if condition below?

Copy link
Member

Choose a reason for hiding this comment

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

This is just a backport from what is in master. I would implement that suggestion, if needed, in a master PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

ah i see. agree, we can just do the improvement later on master

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

Successfully merging this pull request may close these issues.

4 participants