|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Code changed in jenkins
User: Oleg Nenashev
Path:
src/main/java/hudson/plugins/throttleconcurrents/ThrottleJobProperty.java
http://jenkins-ci.org/commit/throttle-concurrent-builds-plugin/9b7562d4b08e0a4202130d43307082553142df82
Log:
[FIXED JENKINS-21044] - Throttling blocks the Jenkins queue
Seems the issue was in improper usage of WeakHashMap (see analysis from @centic).
I've managed to reproduce the behavior in the following case:
// Seems that ThrottleQueueTaskDispatcher tries to access the data before the complete loading of the plugin's configuration.
This fix provides an explicit locking of any load operations + manual cleanup of erroneous cache data, which goes to persistence in 1.8.1
Resolves https://issues.jenkins-ci.org/browse/JENKINS-21044
Signed-off-by: Oleg Nenashev <[email protected]>