-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Leaf node interest propagation filtering with queue groups - Exact subject not matching #6281
Labels
defect
Suspected defect such as a bug or regression
Comments
kozlovic
added a commit
that referenced
this issue
Dec 20, 2024
…ons on hub If the hub has a user with subscribe permissions on a literal subject that the leaf is trying to create a queue subscription on, the interest may not be propagated. The issue was caused by the fact that we were checking the permissions on the key (that includes subject and queue name) instead of the subject itself. Resolves #6281 Signed-off-by: Ivan Kozlovic <[email protected]>
derekcollison
added a commit
that referenced
this issue
Dec 20, 2024
…ons on hub (#6291) If the hub has a user with subscribe permissions on a literal subject that the leaf is trying to create a queue subscription on, the interest may not be propagated. The issue was caused by the fact that we were checking the permissions on the key (that includes subject and queue name) instead of the subject itself. Resolves #6281 Signed-off-by: Ivan Kozlovic <[email protected]>
wallyqs
pushed a commit
that referenced
this issue
Jan 8, 2025
…ons on hub If the hub has a user with subscribe permissions on a literal subject that the leaf is trying to create a queue subscription on, the interest may not be propagated. The issue was caused by the fact that we were checking the permissions on the key (that includes subject and queue name) instead of the subject itself. Resolves #6281 Signed-off-by: Ivan Kozlovic <[email protected]>
wallyqs
pushed a commit
that referenced
this issue
Jan 8, 2025
…ons on hub If the hub has a user with subscribe permissions on a literal subject that the leaf is trying to create a queue subscription on, the interest may not be propagated. The issue was caused by the fact that we were checking the permissions on the key (that includes subject and queue name) instead of the subject itself. Resolves #6281 Signed-off-by: Ivan Kozlovic <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Observed behavior
Null tests and context:
Expected behavior
Subscription interest propagates even if subject allow filter matches the subject exactly.
Suspected reason: This could be a regression in 2.10.23 due to recent fixes to leaf node interest propagation with queue groups
Server and client version
2.10.23
Nats CLI - main branch
Host environment
Windows
Steps to reproduce
Defect case
Nulltest-1
2. nats --server=nats://127.0.0.1:4223 sub services.device.remote-lock
3. nats --server=nats://127.0.0.1:4222 pub services.device.remote-lock Hello
Nulltest-2
2. nats --server=nats://127.0.0.1:4222 --user=user2 --password=user2 reply services.device.remote-lock OK
3. nats --server=nats://127.0.0.1:4222 request services.device.remote-lock Hello
20241219_Leafnode_interest_graph_issue.zip
The text was updated successfully, but these errors were encountered: