<< Back to previous view

[QB-502] Restarting node/agent shall wait for currently running builds/jobs to finish
Created: 13/Jan/10  Updated: 31/Aug/11

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: None
Fix Version/s: 4.0.0-M2

Type: Improvement Priority: Major
Reporter: AlSt Assigned To: Robin Shen
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
Please correct if I am wrong, but triggering restart node/agent immediately restarts it, even when builds/jobs are still running. Subsequently the queue/jobs counters are partly reset and (redirected) logs are lost.

In analogy to restart Quickbuild waiting for builds, I would in all cases (i.e. by default) that I can think of prefer the following currently manual necessary steps to be automated:
1. set size of queue(s) of corresponding nodes/agents to 0 (remember the previous used size values)
2. wait for all builds/jobs on this nodes/agents to finish
3. restart nodes/agents
4. re-set size of queue(s) to the remembered previous values

Possible challenge: Is there a mapping between nodes/agents and queue?
Generated at Sat Jun 01 20:29:11 UTC 2024 using JIRA 189.