#4679 Varnish serving stale pages
Closed: Fixed None Opened 6 years ago by chrismurphy.

= bug description =
Test announcements include URLs which are often redirected to old pages.

At the time of this writing
https://fedoraproject.org/wiki/Test_Results:Current_Installation_Test
redirects to
https://fedoraproject.org/wiki/Test_Results:Fedora_22_Alpha_TC7_Installation?rd=Test_Results:Current_Installation_Test
but it should redirect to
https://fedoraproject.org/wiki/Test_Results:Fedora_22_Alpha_TC8_Installation?rd=Test_Results:Current_Installation_Test
= bug analysis =

{{{

wget -S https://fedoraproject.org/wiki/Test_Results:Current_Installation_Test

--2015-03-04 10:58:12-- https://fedoraproject.org/wiki/Test_Results:Current_Installation_Test
Resolving fedoraproject.org (fedoraproject.org)... 152.19.134.142, 209.132.181.16, 67.203.2.67, ...
Connecting to fedoraproject.org (fedoraproject.org)|152.19.134.142|:443... connected.
HTTP request sent, awaiting response...
HTTP/1.1 302 Found
Date: Tue, 03 Mar 2015 08:04:54 GMT
Server: Apache/2.2.15 (Red Hat)
X-Powered-By: PHP/5.3.3
X-Content-Type-Options: nosniff
Location: https://fedoraproject.org/wiki/Test_Results:Fedora_22_Alpha_TC7_Installation?rd=Test_Results:Current_Installation_Test
Content-language: en
ETag: W/"fpo-mediawiki-en_:pcache:idhash:56036-0!1!0!!en!2--20150302164729"
Vary: Accept-Encoding,Cookie,User-Agent
Cache-Control: s-maxage=432000, must-revalidate, max-age=0
Last-Modified: Mon, 02 Mar 2015 16:47:29 GMT
AppTime: D=9264
AppServer: proxy04.fedoraproject.org
Content-Type: text/html; charset=UTF-8
X-Varnish: 31393843 29018964
Age: 121998
Via: 1.1 varnish-v4
Content-Length: 101184
Keep-Alive: timeout=15, max=500
Connection: Keep-Alive
Location: https://fedoraproject.org/wiki/Test_Results:Fedora_22_Alpha_TC7_Installation?rd=Test_Results:Current_Installation_Test [following]
--2015-03-04 10:58:12-- https://fedoraproject.org/wiki/Test_Results:Fedora_22_Alpha_TC7_Installation?rd=Test_Results:Current_Installation_Test
Connecting to fedoraproject.org (fedoraproject.org)|152.19.134.142|:443... connected.
HTTP request sent, awaiting response...
HTTP/1.1 200 OK
Date: Tue, 03 Mar 2015 08:04:56 GMT
Server: Apache/2.2.15 (Red Hat)
X-Powered-By: PHP/5.3.3
X-Content-Type-Options: nosniff
Content-language: en
ETag: W/"fpo-mediawiki-en_:pcache:idhash:56036-0!1!0!!en!2--20150302164729"
Vary: Accept-Encoding,Cookie,User-Agent
Cache-Control: s-maxage=432000, must-revalidate, max-age=0
Last-Modified: Mon, 02 Mar 2015 16:47:29 GMT
AppTime: D=3942
AppServer: proxy04.fedoraproject.org
Content-Type: text/html; charset=UTF-8
X-Varnish: 28696606 30084420
Age: 121997
Via: 1.1 varnish-v4
Content-Length: 100759
Accept-Ranges: bytes
Keep-Alive: timeout=15, max=500
Connection: Keep-Alive
Length: 100759 (98K) [text/html]
Saving to: ‘Test_Results:Current_Installation_Test’

Test_Results:Current_Installation_ 100%[==================================================================>] 98.40K 286KB/s in 0.3s

2015-03-04 10:58:13 (286 KB/s) - ‘Test_Results:Current_Installation_Test’ saved [100759/100759]

}}}

= fix recommendation =


Hi,

Thanks for reporting this.
This case has been fixed, and I'm now working on making sure this doesn't happen again.

I will keep this ticket open until that is merged.

Patrick

Okay, this is now merged, and playbook ran.
This should not happen again, since wiki will from now on purge all the caches when a page is edited.

For reference, the fixing commit: https://infrastructure.fedoraproject.org/cgit/ansible.git/commit/?id=621c373

Login to comment on this ticket.

Metadata