-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Medium
-
Affects Version/s: None
-
Component/s: Import / Export [Deprecated], Scheduled Tasks
-
Severity 2 - Major
-
NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.
Discovered that the scheduler can cause deadlocks with DataImport.
This is a result of 2 things:
- We call - schedUtil.shutdownScheduler(sched);
This in turn calls - scheduler.shutdown(); This does not block until services are finished.
We should call - scheduler.shutdown(true); (and have a timeout on the operation too). - Webworks inherited thread local problem. Anton knows the details of this.
The attached thread dump contains the deadlock.
Note that there are three threads with the name - JiraQuartzScheduler_Worker-0
- is duplicated by
-
JRASERVER-10541 Scheduler/PicoContainer deadlock.
-
- Closed
-
- relates to
-
JRACLOUD-13461 Scheduler can cause deadlock during Data Import
-
- Closed
-