gearman-plugin/src/main/java/hudson/plugins/gearman
Khai Do 08e9c429de Fix deadlock from a WORK_FAIL event
A lock is kept on a gearman worker when a WORK_FAIL event happens.
This causes the worker therad to stall on the next attempt that
the AvailabilityMonitor attempt to get a lock on the worker.
This causes the jenkins nodes to stop working (not run builds
anymore). Unlock the worker on a WORK_FAIL event to avoid this
deadlock state.

This fixes issue https://issues.jenkins-ci.org/browse/JENKINS-28891

Change-Id: I015ce9732fd535676a832680f39e220b09df95cf
2015-07-01 10:17:20 +00:00
..
example moved python examples to jenkins wiki 2013-08-11 07:20:24 -07:00
AbstractWorkerThread.java Don't wait for the worker thread to join 2013-08-16 12:55:37 -07:00
AvailabilityMonitor.java Don't catch InterruptedException in the node monitor. 2013-06-14 15:24:12 -07:00
ComputerListenerImpl.java Fix job result not being sent back to gearman client 2014-10-21 15:14:20 -07:00
Constants.java always run management worker 2013-06-11 15:18:04 -07:00
CustomGearmanFunctionFactory.java Rework starting/stopping executors 2013-08-13 11:31:50 -07:00
ExecutorWorkerThread.java Protect against partially initialized executer workers 2015-01-08 08:40:26 -08:00
GearmanPluginConfig.java fix for bug 1162887 2013-05-01 10:20:45 -07:00
GearmanPluginUtil.java Rework starting/stopping executors 2013-08-13 11:31:50 -07:00
GearmanProxy.java Use more fine-grained synchronization in GearmanProxy 2013-08-14 14:50:14 -07:00
ItemListenerImpl.java update to work with Jenkins LTS ver 1.565.3 2014-10-15 14:21:08 -07:00
ManagementWorkerThread.java Use more fine-grained synchronization in GearmanProxy 2013-08-14 14:50:14 -07:00
MyGearmanWorkerImpl.java Fix deadlock from a WORK_FAIL event 2015-07-01 10:17:20 +00:00
NodeAssignmentAction.java Add comments, decouple build actions, and cancel jobs. 2013-02-08 15:56:31 -08:00
NodeAvailabilityMonitor.java Rework starting/stopping executors 2013-08-13 11:31:50 -07:00
NodeParametersAction.java Add comments, decouple build actions, and cancel jobs. 2013-02-08 15:56:31 -08:00
NoopAvailabilityMonitor.java Handle mutex scheduling from Gearman or Jenkins. 2013-06-13 12:42:51 -07:00
QueueTaskDispatcherImpl.java Handle mutex scheduling from Gearman or Jenkins. 2013-06-13 12:42:51 -07:00
RunListenerImpl.java Handle mutex scheduling from Gearman or Jenkins. 2013-06-13 12:42:51 -07:00
SaveableListenerImpl.java update to work with Jenkins LTS ver 1.565.3 2014-10-15 14:21:08 -07:00
SetDescriptionWorker.java Fix build description permission error. 2013-06-07 10:53:43 -07:00
StartJobWorker.java Merge "Use TextParameterValue instead of String" 2015-06-18 02:17:11 +00:00
StopJobWorker.java Update zuul-gearman protocol. 2013-06-06 15:40:01 -07:00