action #32851: [tools][EPIC] Scheduling redesign
[tools] Scheduler job_grab/filter_jobs refactoring
For the moment it would be sufficient to refactor job_grab, and pass over schemas objects instead of hashes and re-use them in the filtering phase, meanwhile refactoring properly those areas (e.g. extracting them) - better if we also optimize the queries.
Kinda of a hard task, since could potentially make things 'shaky'.
#3 Updated by coolo almost 2 years ago
- Target version set to Ready
Taken that we usually have < 2000 jobs scheduled, I think it's worth an experiment to grab all open jobs and schedule in memory. There is only one scheduler process, so IMO this should simplify a lot. Yes, hard task - but worth the time spent to make the whole scheduling understandable.
#9 Updated by EDiGiacinto over 1 year ago
- Status changed from New to Feedback
- Assignee deleted (
Yes, but as i'm not the author of this set of changes, can't help much more from here - i adapted the tests we already had for the scheduler and did some adaptations to the issues i could notice, but i think there are still bugs to catch.
Latest related change to it is: https://github.com/os-autoinst/openQA/pull/1743