-
Notifications
You must be signed in to change notification settings - Fork 611
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
fix: do not retry create instance on closed connection #18264
fix: do not retry create instance on closed connection #18264
Conversation
21e5a61
to
4764db9
Compare
4764db9
to
9b68e09
Compare
failed state is just due to a failed benchmark setup caused by the excessive branch name 🙃 |
I created a generation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's no test for the NettyMessagingService change, but I can see that's difficult to test in a controlled way 🤔 Let's go with this 👌
Nice catch!
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin stable/8.2
git worktree add -d .worktree/backport-18264-to-stable/8.2 origin/stable/8.2
cd .worktree/backport-18264-to-stable/8.2
git switch --create backport-18264-to-stable/8.2
git cherry-pick -x 9b68e0937b3c2942cdda9372469e5facb1808158 |
Successfully created backport PR for |
Successfully created backport PR for |
Successfully created backport PR for |
…nection (#18286) # Description Manual backport of #18264 to `stable/8.2`. There were conflicts in [MessagingException.java](https://github.com/camunda/zeebe/pull/18286/files#diff-cfd7f2bc0198b1461470a353efa3fbebce2cec3c7ca71c96513eefc316b61245) which contains one subtype less than on all newer branches. relates to #17333 original author: @megglos
Description
This replaces
ConnectionException
throws in cases where a connection was actually established previously with a more appropriateMessagingException.ConnectionClosed
, asConnectionException
is only supposed to be used in cases where a connection couldn't get established at all, see https://docs.oracle.com/javase%2F7%2Fdocs%2Fapi%2F%2F/java/net/ConnectException.html.Related issues
closes #17333