Skip to content

ARTEMIS-3520: set Open hint upon redirect/refusal of AMQP connections#3789

Merged
gtully merged 1 commit intoapache:mainfrom
gemmellr:balancer-open-fail-hint
Oct 7, 2021
Merged

ARTEMIS-3520: set Open hint upon redirect/refusal of AMQP connections#3789
gtully merged 1 commit intoapache:mainfrom
gemmellr:balancer-open-fail-hint

Conversation

@gemmellr
Copy link
Member

@gemmellr gemmellr commented Oct 6, 2021

Set the Open frame failure hint property when the broker balancer decides to redirect or refuse an AMQP connection, so aware clients know they need not proceed on receipt of the Open as a Close will follow. Adds some more direct tests of the protocol behaviour during refusal or redirect of initial connection by the balancer.

Also adds some context to failure messages from other existing Redirect tests, as some asserts are in loops and cant be fully reasoned about without detail then no longer available (meant to put that in a separate commit, but didn't seem worth separating it again once I forgot to commit it).

@gemmellr
Copy link
Member Author

gemmellr commented Oct 6, 2021

Oops, I was in the test dir when I fixed checkstyle issues, missed the other bit.

…fuses AMQP connection, add lower level test for balancer related redirect/refusal protocol behaviour
@gemmellr gemmellr force-pushed the balancer-open-fail-hint branch from b092321 to fe75dba Compare October 6, 2021 17:02
@gtully
Copy link
Contributor

gtully commented Oct 7, 2021

this sorts the NPE in the new balancer example, thanks!

@gtully gtully merged commit d7f37ae into apache:main Oct 7, 2021
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