Skip to content

Comments

[FIXED] Consumer unpin behavior and advisories & added test#7819

Merged
neilalexander merged 1 commit intomainfrom
maurice/pin-fixes
Feb 13, 2026
Merged

[FIXED] Consumer unpin behavior and advisories & added test#7819
neilalexander merged 1 commit intomainfrom
maurice/pin-fixes

Conversation

@MauriceVanVeen
Copy link
Member

@MauriceVanVeen MauriceVanVeen commented Feb 12, 2026

Improves/fixes an issue when unpinning as admin would not reset some fields, nor would a new client be able to pick up the next pin without new messages coming in. Similarly the pinned state needs to reset when stepping down to follower, and not send a timeout advisory if the unpin already happened.

Also added a strict test solidifying the behavior around only pinning a client when delivering a message to one.

Signed-off-by: Maurice van Veen github@mauricevanveen.com

Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
@MauriceVanVeen MauriceVanVeen changed the title [IMPROVED] Consumer remains pinned while waiting for messages [FIXED] Consumer unpin behavior and advisories & added test Feb 12, 2026
Copy link
Member

@Jarema Jarema left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@neilalexander neilalexander left a comment

Choose a reason for hiding this comment

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

LGTM

@neilalexander neilalexander merged commit a1f7de5 into main Feb 13, 2026
69 of 70 checks passed
@neilalexander neilalexander deleted the maurice/pin-fixes branch February 13, 2026 10:11
neilalexander added a commit that referenced this pull request Feb 16, 2026
Includes the following:

- #7780
- #7784
- #7782
- #7783
- #7787
- #7789
- #7793
- #7797
- #7798
- #7799
- #7790
- #7805
- #7810
- #7811
- #7812
- #7809
- #7724
- #7815
- #7816
- #7818
- #7819
- #7820
- #7795
- #7825
- #7828
- #7835
- #7837

Signed-off-by: Neil Twigg <neil@nats.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants