Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Handle scheduler exceptions #38014
This is a continuation of #28667, #36137 and also fixes #37708. The goal is to log warnings on all exceptions thrown out of Runnables passed to Scheduler.schedule. There were no usages of the "Future.get()" on the ScheduledFuture returned from schedule and we have therefore redefined the semantics to be that scheduled tasks should never fail and if they do this should always be logged as a warning.
Parts of this will be backported to 6.x, notably we will avoid following breaking changes (breaking-java label only applies to 7.0):
Please pay special attention to the change in Processor.Parameters, I would like input on the todo in that file.