-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Complete MergeHub Sink gracefully on NormalShutdownException #7468
Conversation
Draft targets 1.5.30 tag since that is the version in my project. I can rebase to dev once we agree that this should be merged. |
@anpin changes look good but this spec is failing (please check the build log):
Is that to be expected? |
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.
LGTM but please see my comment RE: test failrues
The other two tests that failed:
|
Give it a "run until failure" and let it cook for a little bit (like 10-15 minutes while you're doing something else) - I had to do that myself today for a couple of specs I was working on. |
But otherwise you can mark this PR as "ready for review" |
I''ll give it a second chance to fail tomorrow using your suggestion and will cleanup those comments in tests. Thank you @Aaronontheweb for looking into this! |
@anpin thank you for your hard work and research on this issue! |
Nice find, will port this fix to Akka Scala too? |
@He-Pin not a scala user myself, but you are welcome to do so if such an issue exists there |
I will try to port it to pekko, after this been merged, thanks. @anpin |
@Aaronontheweb could you clarify what you meant by this? I couldn't make those test fail in Rider on Linux. However I spotted a lot of error logs on linux in CI (for all PR's not this one in particular) and that the build script depends on outdated FAKE tooling, so my results are potentially not reproducible due to difference in environment used. |
Mistake on my part - I thought there was an issue with the log formatting being broken in the version of Akka.NET (v1.5.30) you'd based your branch on. There might be a race condition in that test (very common and annoying in a test suite as large as ours.) |
The FAKE build errors is mostly output from https://github.com/petabridge/Incrementalist - which can run into some solution analysis hiccups that aren't significant |
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.
LGTM
Fixes #6931
Changes
Pattern match exception to avoid unnecessary errors logged upon Akka.IO streams failure
Checklist
For significant changes, please ensure that the following have been completed (delete if not relevant):
Latest
dev
BenchmarksInclude data from the relevant benchmark prior to this change here.
This PR's Benchmarks
Include data from after this change here.