Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
rel-5-6-0
-
Security Level: Users (General product issues)
-
Blue Sprint 102, Blue Sprint 103
-
208215
Description
Our customer run into following synchronization issue.
CloverJMX bean gets information about a job can be released - releaseJob() method. Following method is called to inform other listeners about this event:
private void sendReleaseWatchdogNotification(WatchDog watchDog) { synchronized (jobListeners) { for (JobListener jobListener : jobListeners) { jobListener.jobFinished(watchDog); } } }
Unfortunatelly one of the listeners is stuck by a DB connection, which swallows a thread on close() method. From now on, all incomming events about job release are blocked on the jobListeners monitor. It is well visible at FastThread report of attached thread dump:
Similar issue has been already noticed in an our internal test:
https://wiki.cloverdx.com/display/DEVELOPMENT/2019-08-22+TES+-+Server+VTE+Stresstest%28s%29+before+release+5-3-1