Closed trws closed 5 months ago
Ok, finally figured out the test. Turns out the test I was thinking of does work, but only with conservative backfill. May need to look into why it doesn't happen with easy, but this did catch the issue and is fixed by the patch. Also new comments with the reconsider calls.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 74.0%. Comparing base (
326da3f
) to head (4dc7c17
). Report is 171 commits behind head on master.
problem: if a job in reserved state, still pending in qmanager, gets reprioritized it's possible that it could unblock a job in the blocked queue and without doing a reconsideration it's possible we could get a priority inversion
solution: reconsider blocked jobs when a pending job is reprioritized
I have yet to make a reproducer that reliably needs this, but I'm pretty sure if we can do this sequence it will happen: