Please sign in to comment.
[FIXED JENKINS-27565] Refactor the Queue and Nodes to use a consisten…
…t locking strategy The test system I set up to verify resolution of customer(s)' issues driving this change, required additional changes in order to fully resolve the issues at hand. As a result I am bundling these changes: - Moves nodes to being store in separate config files outside of the main config file (improves performance) [FIXED JENKINS-27562] - Makes the Jenkins is loading screen not block on the extensions loading lock [FIXED JENKINS-27563] - Removes race condition rendering the list of executors [FIXED JENKINS-27564] [FIXED JENKINS-15355] - Tidy up the locks that were causing deadlocks with the once retention strategy in durable tasks [FIXED JENKINS-27476] - Remove any requirement from Jenkins Core to lock on the Queue when rendering the Jenkins UI [FIXED-JENKINS-27566]
- Loading branch information...
Showing with 1,549 additions and 651 deletions.
- +7 −1 core/src/main/java/hudson/Functions.java
- +43 −37 core/src/main/java/hudson/model/AbstractCIBase.java
- +112 −8 core/src/main/java/hudson/model/Computer.java
- +292 −76 core/src/main/java/hudson/model/Executor.java
- +1 −1 core/src/main/java/hudson/model/Hudson.java
- +4 −0 core/src/main/java/hudson/model/Node.java
- +449 −245 core/src/main/java/hudson/model/Queue.java
- +69 −19 core/src/main/java/hudson/model/ResourceController.java
- +5 −0 core/src/main/java/hudson/slaves/AbstractCloudSlave.java
- +20 −14 core/src/main/java/hudson/slaves/ComputerRetentionWork.java
- +110 −75 core/src/main/java/hudson/slaves/NodeProvisioner.java
- +17 −17 core/src/main/java/hudson/slaves/RetentionStrategy.java
- +10 −4 core/src/main/java/hudson/slaves/SlaveComputer.java
- +29 −53 core/src/main/java/jenkins/model/Jenkins.java
- +244 −0 core/src/main/java/jenkins/model/Nodes.java
- +8 −1 core/src/main/java/jenkins/util/AtmostOneTaskExecutor.java
- +1 −0 core/src/main/resources/hudson/model/Messages.properties
- +110 −91 core/src/main/resources/lib/hudson/executors.jelly
- +18 −9 core/src/main/resources/lib/layout/layout.jelly
Oops, something went wrong.