Skip to content

Conversation

kozlovic
Copy link
Member

@kozlovic kozlovic commented Sep 4, 2025

This is related to PR #5519 where the propagation of a shadow subscription was suppressed for a subscription coming from a spoke leafnode connection, but the handling of the unsubscribe of such shadow subscription was not fixed, which could result in removing a legitimate interest.

The test TestLeafNodeDupeDeliveryQueueSubAndPlainSub that was added in PR #5519 was modified to demonstrate what would have been the issue without the fix in this PR.

Signed-off-by: Ivan Kozlovic ivan@synadia.com

This is related to PR #5519 where the propagation of a shadow subscription
was suppressed for a subscription coming from a spoke leafnode connection,
but the handling of the unsubscribe of such shadow subscription was not
fixed, which could result in removing a legitimate interest.

The test `TestLeafNodeDupeDeliveryQueueSubAndPlainSub` that was added
in PR #5519 was modified to demonstrate what would have been the issue
without the fix in this PR.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
@kozlovic kozlovic requested a review from a team as a code owner September 4, 2025 18:47
@kozlovic
Copy link
Member Author

kozlovic commented Sep 4, 2025

@derekcollison This is the handling of the unsub of a shadow subscription that was not done in PR #5519 that you fixed last year.

Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

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

LGTM

@derekcollison derekcollison merged commit 460cc74 into main Sep 5, 2025
131 of 136 checks passed
@derekcollison derekcollison deleted the fix_spokeleaf_shadowsub_unsub branch September 5, 2025 00:11
neilalexander added a commit that referenced this pull request Sep 8, 2025
Includes the following:
- #7200
- #7201
- #7202
- #7209
- #7210
- #7211
- #7213
- #7212
- #7216
- #7217
- #7230
- #7239
- #7246
- #7248
-
8241a15,
specifically delayed errors that are not JS API errors
- #7158 (not containing
2.12-specific changes)
- #7233
- #7255
- #7249
- #7259
- #7265
- #7273 (not including Go
1.25.x)
- #7258
- #7222

Signed-off-by: Maurice van Veen <github@mauricevanveen.com>
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.

2 participants