Skip to content

Consumer stops delivering messages after leader failover if Stream has Interest retention policy #7664

@leontian

Description

@leontian

Observed behavior

nats server version 2.12.1

We have stream B sourcing from A1, A2, A3, ...
Stream B has a consumer C, stream B has Interest retention policy
Both B and C have replicas=3
When we restart the leader node of the stream B and consumer C in our 3-node nats cluster, the consumer C stops delivering messages while new messages are still being added to stream B from the sources.

Expected behavior

Consumer should be able to continue delivering message after failover

Server and client version

server 2.12.1
client nats.go v1.47.0

Host environment

k8s

Steps to reproduce

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectSuspected defect such as a bug or regression

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions