Repository navigation
[YUNIKORN-3330] Run predicate checks in Required node preemption - #1106
manirajv06 wants to merge 3 commits into
Conversation
|
Thanks for extending the predicate checks to the required node path. I read through the change and have a few comments. 1. Released allocations do not match the preempted ones ( After this change the loop at line 77 marks, counts and emits events only for 2. Branch needs a rebase on master, and the head does not build as pushed At 3. StartIndex is always 0 ( The intra-queue path sends the index at which the core already expects the ask to fit, counting the node's available resources ( 4. Test does not cover a trimmed victim list ( All cases in 5. Nit: Both callers ( |
b367fcc to
2be9d7e
Compare
|
Addressed all review comments. Please take a look. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1106 +/- ##
=======================================
Coverage 83.31% 83.32%
=======================================
Files 104 104
Lines 14652 14696 +44
=======================================
+ Hits 12208 12246 +38
- Misses 2146 2151 +5
- Partials 298 299 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
wilfred-s
left a comment
There was a problem hiding this comment.
Two minor point and then we're good.
2be9d7e to
77695f3
Compare
Description
Run preemption predicate checks for required node preemption.
Refactored existing predicate checks functions used for Intra queue preemption to make use of the same even for required node preemption as well
Added new unit tests
Modified existing test cases as well
Type of change
Please delete options that are not relevant.
Jira issue
Jira ID : https://issues.apache.org/jira/browse/YUNIKORN-3330
AI Tooling
If an AI tool was used:
Check https://www.apache.org/legal/generative-tooling.html for details.
How has this been tested?
make test_allwas run, and no failures reported.Questions:
release-noteslabel.Screenshots or other details