-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix service override #866
Fix service override #866
Conversation
Sorting jobs only by priority causes a situation where low priority jobs can get starved by a constant flow of high priority jobs. The new formula adds a modifier to the sorting rank to take into account the number of cores the job is requesting and also the number of days the job is waiting on the queue. Priorities numbers over 200 will mostly override the formula and work as a priority only based scheduling. sort = priority + (100 * (1 - (job.cores/job.int_min_cores))) + (age in days) Besides that, also take layer_int_cores_min into account when filtering folder_resourse limitations to avoid allocating more cores than the folder limits. (cherry picked from commit 566411aeeddc60983a30eabe121fd03263d05525)
This reverts commit 2eb4936
- Implements ServiceOverride wrapper class in pycue - Fixes handling of ServiceOverride objects in the GUI - Resolves bug in cuebot that incorrectly processes ServiceOverrideDeleteRequest and ServiceOverrideUpdateRequest (cherry picked from commit ab4e0c195f1f3df4f9c625b62ff9532b438ee5a4)
696abdc
to
a31ae11
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good generally, a couple minor points.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ready for the next review. Sorry for the delay on this.
Signed-off-by: Diego Tavares da Silva <[email protected]>
Got a few conflicts here, needs to be resolved with master. |
Signed-off-by: Diego Tavares da Silva <[email protected]>
Looks like we've got some python test breakage now. |
Alright, this has finally passed the tests. |
0d3cc69
into
AcademySoftwareFoundation:master
Fix service override delete and update operations