Skip to content

upgraded to DotNetty v0.4.8 #3439

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

Merged

Conversation

Aaronontheweb
Copy link
Member

close #3437

@Aaronontheweb
Copy link
Member Author

Looks like the behavior is different upon shutdown in .NET Core for DotNetty v0.4.8 - going to need to adjust the specs here. I know they've changed some stuff with trying to prevent resource leaks inside DotNetty itself in this patch and it looks like that's what is showing up in the specs here.

@Danthar Danthar added the tests label May 16, 2018
@Aaronontheweb Aaronontheweb force-pushed the fix-3437-dotnetty-v0.4.8-upgrade branch from f560d40 to 909c9b4 Compare May 22, 2018 20:23
@@ -209,17 +209,18 @@ public TcpTransport(ActorSystem system, Config config) : base(system, config)
var handler = (TcpClientHandler)associate.Pipeline.Last();
return await handler.StatusFuture.ConfigureAwait(false);
}
catch (ConnectException c)
Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed the failing test - simple change, really. Issue just was that DotNetty v0.4.8 doesn't necessarily throw an AggregateException with a ConnectException anymore; we'll just get the ConnectException itself in the catch block. So, modified those methods to handle that case explicitly.

@Aaronontheweb
Copy link
Member Author

This is ready to go - once it's merged in I'm going to run a long-running "soak test" for about 48 hours on another machine to see if we have any problems with resource leaks. Reports I've received from end-users running custom builds indicate that this isn't an issue, but I'd like to be sure.

If we run into trouble with v0.4.8 I'll institute a rollback before we push Akka.NET v1.3.8.

@marcpiechura marcpiechura merged commit 5731c40 into akkadotnet:dev May 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade to DotNetty v0.4.8
3 participants