Closed Bug 1352299 Opened 8 years ago Closed 8 years ago

Sisyphus - Bughunter - restart worker if mysql database connection is lost

Categories

(Testing Graveyard :: Sisyphus, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bc, Assigned: bc)

Details

Attachments

(1 file)

I've long suffered with the workers dying when they lost the connection to the database. This patch restarts the process in the same fashion as we already do when the source changes. This restart is required since we can't call the django.setup() more than once. I've tested this locally and in production by doing a live sisysphus server update and reboot while the workers were live. \o/
Attachment #8853231 - Flags: review?(cbook)
Comment on attachment 8853231 [details] [diff] [review] disconnect-restart.patch Review of attachment 8853231 [details] [diff] [review]: ----------------------------------------------------------------- cool nice new patch!
Attachment #8853231 - Flags: review?(cbook) → review+
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: