Last modified: 2014-01-21 00:59:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60733, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58733 - TimedMediaHandler does not clear varnish/squid cache for transcodes
TimedMediaHandler does not clear varnish/squid cache for transcodes
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
TimedMediaHandler (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Bawolff (Brian Wolff)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-20 07:13 UTC by Bawolff (Brian Wolff)
Modified: 2014-01-21 00:59 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bawolff (Brian Wolff) 2013-12-20 07:13:53 UTC
Original report: https://commons.wikimedia.org/w/index.php?title=Commons:Village_pump&oldid=112210807#Mediawiki_creating_ogg_from_old_version_of_flac_file


I just reset the transcode on http://localhost/w/git/index.php/File:Lysenko-The-Sailboat.flac , but Varnish is still serving the old transcode. Based on the report, it appears that TimedMediaHandler isn't sending htcp purges for transcode files when someone uploads a new version, or when someone resets the transcode.

Compare (Either by listening to the beginning, or if you're like me and don't have a good enough ear, by using diff):
https://upload.wikimedia.org/wikipedia/commons/transcoded/9/9c/Lysenko-The-Sailboat.flac/Lysenko-The-Sailboat.flac.ogg vs https://upload.wikimedia.org/wikipedia/commons/transcoded/9/9c/Lysenko-The-Sailboat.flac/Lysenko-The-Sailboat.flac.ogg?randomjunktobypassvarnish
Comment 1 Gerrit Notification Bot 2013-12-21 03:06:11 UTC
Change 103084 had a related patch set uploaded by Brian Wolff:
Clear Squid/Varnish cache on transcode delete and creation.

https://gerrit.wikimedia.org/r/103084
Comment 2 Gerrit Notification Bot 2013-12-23 16:28:06 UTC
Change 103084 merged by jenkins-bot:
Clear Squid/Varnish cache on transcode delete and creation.

https://gerrit.wikimedia.org/r/103084

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links