Details
-
Bug Report
-
Resolution: Done
-
L3 - Default
-
None
-
None
-
Not defined
Description
Given:
Alert reminders are active
When:
The reminder get's triggered
Then:
There is sometimes an error log issued,
11:59:09.084 [QuartzScheduler_Worker-10] ERROR o.c.o.s.a.ReminderHandlingListener - can't schedule reminder for [e3a4a5e5-7113-46b8-b23c-fd34f9c7db13] org.quartz.ObjectAlreadyExistsException: Unable to store Job : 'statusReminder-job.e3a4a5e5-7113-46b8-b23c-fd34f9c7db13-reminder-job', because one already exists with this identification. at org.quartz.simpl.RAMJobStore.storeJob(RAMJobStore.java:279) at org.quartz.simpl.RAMJobStore.storeJobAndTrigger(RAMJobStore.java:251) at org.quartz.core.QuartzScheduler.scheduleJob(QuartzScheduler.java:855) at org.quartz.impl.StdScheduler.scheduleJob(StdScheduler.java:249) at org.camunda.optimize.service.alert.ReminderHandlingListener.jobWasExecuted(ReminderHandlingListener.java:54) at org.quartz.core.QuartzScheduler.notifyJobListenersWasExecuted(QuartzScheduler.java:1967) at org.quartz.core.JobRunShell.notifyJobListenersComplete(JobRunShell.java:340) at org.quartz.core.JobRunShell.run(JobRunShell.java:224) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
but the reminders seem to work still
Expected:
No error logs are present if the reminders work, it looks like a race condition we should resolve