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
HashedWheelTimer task scheduling behavior changed in 4.1.85 #13018
Comments
@chrisvest I investigated the issue and didn't find a behavior change in HashedWheelTimer. I used HashedWheelTimerTest and made several variations of testExecutionOnTime. There might be some subtle change that causes the issue, and we'll just have to deal with that in Pulsar. |
@lhotari After reading your comment, I reviewed my code and realised I made a mistake in #12888. |
Sorry for making that trouble. I already made a PR #13021 to revert it. @lhotari @chrisvest |
@needmorecode Thanks for the quick confirmation and investigation. Your explanation makes sense. I missed that case when I was trying to add a unit test that would prove an issue. |
Expected behavior
The expectation is that task scheduling behavior of HashedWheelTimer doesn't change significantly between Netty 4.1.x releases.
Actual behavior
The HashedWheelTimer behavior changed in some way that makes multiple integration tests to fail in Apache Pulsar. The only change in HashedWheelTimer in 4.1.85.Final is the PR #12888 .
Steps to reproduce
There are steps to reproduce by running a specific test in Apache Pulsar project. The instructions are in a PR in the Apache Pulsar repo:
apache/pulsar#18599 (comment)
Netty version
4.1.85.Final
JVM version (e.g.
java -version
)OS version (e.g.
uname -a
)Linux x86_64
The text was updated successfully, but these errors were encountered: