various thread safety issues in the Liberty scheduled executor #15390
Labels
release bug
This bug is present in a released version of Open Liberty
release:21001
team:Zombie Apocalypse
Milestone
While making some updates (and adding some tests) to get the Liberty scheduled executor to run scheduled tasks via a policy executor, I came across a couple of thread safety bugs in the Liberty scheduled executor.
Another bug is that when a repeating task execution fails to submit to the executor, only the SchedulingHelper's latch is counted down, with the SchedulingRunnableFixedHelper remaining unaware. From the user's perspective, the future for the repeating scheduled task never shows as being done and
get
operations time out, even though the task has actually aborted and will never run again. This issue may have been hidden in the past because prior to usage with a policy executor, submits directly to the Liberty global executor tended to not raise exceptions.The text was updated successfully, but these errors were encountered: