improve socorro update script

RESOLVED FIXED in 29

Status

RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: rhelmer, Assigned: rhelmer)

Tracking

unspecified

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [qa-])

(Assignee)

Description

6 years ago
There are some improvements to the dev update scripts we should pull in:

* explicit unlock on exit conditions
* do not require "new" file, create "old" as-needed (removes bootstrapping problem)
* only download file if Last-Modified header has changed
* graceful restart of httpd
* tell memcached to flush_all, instead of restarting

The last two should make selenium happier, I think.
(Assignee)

Updated

6 years ago
Target Milestone: --- → 27
(Assignee)

Comment 2

6 years ago
(In reply to Robert Helmer [:rhelmer] from comment #0)
> There are some improvements to the dev update scripts we should pull in:
> 
> * only download file if Last-Modified header has changed


This does not seem to work consistently, at least with our version of wget. Backed that part out.
Target Milestone: 27 → 28
(Assignee)

Updated

6 years ago
Target Milestone: 28 → 29

Comment 3

6 years ago
Commits pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/76ee6507b7676e704440d45d2e7ca7af1fb71aab
bug 809345 - faster, more consistent and graceful update script

https://github.com/mozilla/socorro/commit/b3a8e2514949892ddb400b8385e91fa5b51edcd6
Merge pull request #921 from rhelmer/bug809345-update-script-improvements

bug 809345 - faster, more consistent and graceful update script
(Assignee)

Updated

6 years ago
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.