Skip to content

A possible for JENKINS-23293#2

Open
zjfroot wants to merge 2 commits into
jenkinsci:masterfrom
zjfroot:master
Open

A possible for JENKINS-23293#2
zjfroot wants to merge 2 commits into
jenkinsci:masterfrom
zjfroot:master

Conversation

@zjfroot
Copy link
Copy Markdown

@zjfroot zjfroot commented Aug 5, 2014

I have tried to make a possible fix for JENKINS-23293

When jobs launched from Multijob plugin or many sub jobs triggered at the same time by a "master" job, computer.countIdle() does not return the correct idling number of executors.

I am not sure this is the right fix, so any discussion is welcomed.

@cloudbees-pull-request-builder
Copy link
Copy Markdown

plugins » leastload-plugin #13 SUCCESS
This pull request looks good

@zjfroot
Copy link
Copy Markdown
Author

zjfroot commented Aug 5, 2014

The idea was replacing replace computer.countIdle() with ExecutorChunk's size, which I suppose it always represent the idling executors on a computer/slave

@jenkinsadmin
Copy link
Copy Markdown
Member

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

@bstick12
Copy link
Copy Markdown
Member

bstick12 commented Aug 5, 2014

I'll take a look at this not sure if the ExecutorChunk size will always represent the idling executors. The documentation is a little vague.

@zjfroot
Copy link
Copy Markdown
Author

zjfroot commented Aug 6, 2014

Great. Meanwhile I am running my patch on our private jenkins to see anything strange will happen.

@rasjani
Copy link
Copy Markdown

rasjani commented Jan 27, 2016

@zjfroot have you noticed any issues with your patch ?

@chenchix
Copy link
Copy Markdown

I am facing this exact issue. I know it is an old thread, but was this implemented? can be re-visited?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants