-
Notifications
You must be signed in to change notification settings - Fork 819
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
Replace assert with warning in error event processing #8058
Conversation
We have been running this in our production. Vinith looked up the messages we received. 50 over our footprint in a 4 hour period. Most of them are just EPOLLERR (0x8). A least one also had EPOLLHUP (0x18). May be ok to just ignore them. Or to pass them along via a write event as this PR does. |
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.
Looks good to me, I'm going to deploy this change in our 9.1.x testing environment where we've been hitting the assertion that is being replaced here.
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.
Looks good.
Replace assert with non-release and process as write event in error event processing (cherry picked from commit 6f32b7c)
Cherry-picked to v9.1.x branch. |
Replace assert with non-release and process as write event in error event processing (cherry picked from commit 6f32b7c) Conflicts: iocore/net/UnixNet.cc
* asf/9.1.x: (28 commits) Updated ChangeLog Make the rest of InkAPI allocators Proxy Allocated (apache#8106) Added missing milestones and updated slow log report script (apache#8168) Cleans up the code bit, including milliseconds consistency (apache#7989) Note YAML parser library bug, and work-around, in documentation. (apache#7963) Update INSTALL for URLs and version number (apache#8173) ESI plugin documentation updates. (apache#7970) Add a JSON schema for strategies.yaml (apache#7932) ensure hostname_offset is initialized to '0' to indicate null hostname (apache#8162) Fixed compile error with Linux AIO unit test (apache#7958) Enforce case for well known methods (apache#7886) Treat TRACE with body as bad request (apache#7905) Close connection after every bad request for HTTP/1.1 (apache#7885) use sendmsg and recvmsg (apache#7793) Apply log throttling to HTTP/2 session error rate messages (apache#7772) limit m_current_range to max value in RangeTransform (apache#4843) Fix HPACK eviction iterator manipulation (apache#8004) Replace fix assert in error event processing (apache#8058) Adds OCSP support for BoringSSL (apache#7298) .gitignore rules for gcov generated files (apache#8099) ...
Fixes an issue introduced in PR #7809.
Replaced the ink_release_assert with a warning so we can gain information about this situation.