Closed
Bug 488782
Opened 15 years ago
Closed 15 years ago
Website: Sometimes there are missing preview images/broken links due to rsync doing pages before images
Categories
(Mozilla Labs Graveyard :: Personas Plus, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: stephend, Assigned: oremj)
References
()
Details
Attachments
(1 file)
384.71 KB,
image/png
|
Details |
Sometimes during a push of GetPersonas.com, there are broken links and missing preview images (see screenshot), because rsync seems to take care of pages before images. (Saw this on http://www.getpersonas.com/gallery/Music/Recent, but this might fix itself by the time this is read.) Toby can add more more-specific info.
Reporter | ||
Comment 1•15 years ago
|
||
Comment 2•15 years ago
|
||
Jeremy - can we futz with the rsynch so that it does the images (the 1-9 directories) before the galleries? The delay difference can actually be quite substantial.
Assignee: cbeard → oremj
Comment 3•15 years ago
|
||
Does the rsync also delete stale files? If so, doing the images first will cause images to get deleted before updating the pages that refer to them, which is the same problem in reverse. I guess you could always sync images without deleting any first, then sync pages, then do a sync that deletes stale images.
Assignee | ||
Comment 4•15 years ago
|
||
I've changed the rsync from: rsync -aq --delete sm-personas01::personas/ /data/static/www/www.getpersonas.com/static/ to: rsync -aq --delay-updates --delete-delay sm-personas01::personas/ /data/static/www/www.getpersonas.com/static/ These changes should make it much more atomic.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•15 years ago
|
||
Looks like this is still happening on http://www.getpersonas.com/en-US/gallery/All/All/1.
Updated•8 years ago
|
Product: Mozilla Labs → Mozilla Labs Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•