Skip to content

Comments

[IMPROVED] Include pending msgs/bytes when being unpinned#7815

Merged
neilalexander merged 1 commit intomainfrom
maurice/wrong-pin-id-pending
Feb 11, 2026
Merged

[IMPROVED] Include pending msgs/bytes when being unpinned#7815
neilalexander merged 1 commit intomainfrom
maurice/wrong-pin-id-pending

Conversation

@MauriceVanVeen
Copy link
Member

o.nextWaiting(..) exposes the pending messages and bytes left in the current pull request, for example with a 408 Request Timeout or 409 Message Size Exceeds MaxBytes. This was done for all such errors returned in o.nextWaiting except for 423 Nats-Wrong-Pin-Id. This PR makes that consistent. Every error returned from o.nextWaiting contains the pending counts.

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

Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
@MauriceVanVeen MauriceVanVeen requested a review from a team as a code owner February 10, 2026 17:27
@ripienaar
Copy link
Contributor

@MauriceVanVeen you'll do a ADR update also?

@MauriceVanVeen
Copy link
Member Author

MauriceVanVeen commented Feb 10, 2026

you'll do a ADR update also?

Maybe I'm overlooking it, but Nats-Wrong-Pin-Id seems not even mentioned in any ADR?

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 2959552 into main Feb 11, 2026
90 of 92 checks passed
@neilalexander neilalexander deleted the maurice/wrong-pin-id-pending branch February 11, 2026 09:56
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