| Summary: | correct job status cleanup nessecary on gyrex shutdown and on scheduler disable | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Andreas Mihm <andreas.mihm> |
| Component: | gyrex | Assignee: | Gunnar Wagenknecht <gunnar> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | critical | ||
| Priority: | P3 | CC: | andreas.mihm, gunnar, mike.tschierschke |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Andreas Mihm
A simple "hung" detection has been implemented in bug 356799. The remaining issue is indeed the duplication of status. This has been introduced for performance reasons because there is no efficient way to query for a specific status in the preference tree. Fixed. The state node has been removed all together. This makes lookups by state more expensive but it avoids duplication. We may reconsider when lookups actually become a bottleneck. Additionally, the hung detection has been further improved to also discover jobs hung in the WAITING state which are no longer in a queue but already scheduled on a worker. |