Page MenuHomePhabricator

TimedMediaHandler does not clear varnish/squid cache for transcodes
Closed, ResolvedPublic

Description

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


Version: unspecified
Severity: normal

Details

Reference
bz58733

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:39 AM
bzimport set Reference to bz58733.

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

Change 103084 merged by jenkins-bot:
Clear Squid/Varnish cache on transcode delete and creation.

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

Gilles raised the priority of this task from High to Unbreak Now!.Dec 4 2014, 10:11 AM
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to High.Dec 4 2014, 11:22 AM