Skip to content

Distributors not leaving the ring on shutdown when memberlist is used #2401

@pracucci

Description

@pracucci

I noticed that when we rollout distributors, some of them are left in the ring until the auto-forget triggers (introduced in #2154). We run distributors with -distributor.ring.heartbeat-timeout=4m, so the auto-forget triggers after 40 minutes (10x 4m).

The screenshot below shows 3 consecutive rollouts. In all cases, the actual number of distributors in the ring increase in the ring, and start decreasing after 40m the rollout has started, which is when the auto-forget triggers.

Screenshot 2022-07-13 at 14 18 34

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions