Branch: refs/heads/master
Home: https://github.com/jenkinsci/jenkins
Commit: 5414938c65966f38da4e257973f746951b4fa6fc
https://github.com/jenkinsci/jenkins/commit/5414938c65966f38da4e257973f746951b4fa6fc
Author: Jonas Lind <[email protected]>
Date: 2022-09-15 (Thu, 15 Sep 2022)
Changed paths:
M core/src/main/java/hudson/model/AbstractCIBase.java
M core/src/main/java/jenkins/model/Jenkins.java
Log Message:
-----------
[JENKINS-69534] Make computer creation thread safe (#7087)
This change fixes a race condition that caused file descriptor leaks
when cloud agents were created.
The Jenkins.computers map is changed from a CopyOnWriteMap to a
ConcurrentHashMap to simplify concurrent creation of computers. This
allows us to make AbstractCIBase's createNewComputerForNode and
updateNewComputer methods thread safe and simplify removeComputer.
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/heads/master/98e499-541493%40github.com.