-
Notifications
You must be signed in to change notification settings - Fork 784
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
TrackingEventProcessors shutdown is not working correctly in 4.5.13 #2287
Comments
Hey Nils, curious, but did you test out whether the shutdown process worked with If you could validate for me whether |
Awesome, thanks for the confirmation, @nils-christian. |
I have a hunch I found the predicament. Hence I missed it. I believe this to be commit 696d8f5, which I've just cherry-picked to I'll start making a |
Hi @smcvb, I just built f6e33b5 locally and it looks much better. The shutdown is performed correctly. I now get something like the following:
No exceptions occur afterwards. |
That's great news! |
So, how do you feel, @nils-christian. |
I am happy too. As you know we are looking very forward to the fix for #1981 :-) Yes, we can close this issue. |
So, 4.5.14 has been released. Be sure to let me know if any other issues pop up, @nils-christian! |
Hi,
We switched from Axon 4.5.9 to 4.5.13 due to issue #1981. However, we noticed that the shutdown of the TrackingEventProcessors doesn't seem to work as expected anymore.
Basic information
Steps to reproduce
I use almost the same demo program as for #1981:
Notice that I configured the lifecycle phase timeout. What happens is, that the timeout in DefaultConfigurer.invokeLifecycleHandlers is not exceeded (no TimeoutException occurs). But we still get a lot of exceptions afterwards in the log, as the event processor is still running after the database has been shut down. My workaround from #1981 won't work anymore as well, as it basically does the same thing as the modified code in DefaultConfigurer.invokeLifecycleHandlers.
We also checked the same code with 4.6.0-SNAPSHOT (the current master at f496fed) - in this case the exceptions do not occur and the event processor is correctly stopped.
We are not entirely sure if this is an existing bug or maybe the code which was merged for #1981 relies on some other code on the master.
Expected behaviour
The event processor is no longer running after the shutdown lifecycle handlers have run.
Actual behaviour
The event processor is still running after the shutdown lifecycle handlers have run which leads to exceptions.
The text was updated successfully, but these errors were encountered: