<< Back to previous view

[QB-3413] Prevent Queue from being cleared of user scheduled builds if system or operating system crashes
Created: 26/Jun/19  Updated: 18/Mar/20

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 9.0.0, 9.0.1, 9.0.2, 9.0.3, 9.0.4, 9.0.5, 9.0.6, 9.0.7, 9.0.8, 9.0.9, 9.0.10, 9.0.11, 9.0.12
Fix Version/s: 10.0.0

Type: Improvement Priority: Major
Reporter: Scott Chapman Assigned To: Robin Shen
Resolution: Fixed Votes: 1
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown
Environment: Windows Server 2016 Datacenter on VM Host


 Description   
We recently had an issue where our production server's queue was cleared. Upon looking into this to see if someone cancelled the request, we found the entry in the audit log of where it was queued; but no entry of its cancellation. I then started to look at the server and discovered it was forcibly stopped on 6/23/2019 @ 6:24 PM. When inquiring with the windows server team we were informed that the VM Host had a catastrophic failure and therefore all servers were automatically evacuated to a new host. Can the way the queue is handled be modified to a more stable way where it will not be accidentally lost?

Our issue is we allow the customer to schedule the build (deployment) for the future. Due to this could you please store the future scheduled builds requested by a user (not the cron or scheduler builds) in the database. When the build starts, then remove or mark the database record complete and perform the normal build status/queue process in memory like you currently do.

Generated at Tue Apr 23 23:30:56 UTC 2024 using JIRA 189.