https://bugzilla.wikimedia.org/show_bug.cgi?id=21026





--- Comment #2 from Brion Vibber <[email protected]>  2009-10-06 20:13:51 UTC 
---
Ok confirmed steps to reproduce:

* Set up shared repo wiki w/ English
* Set up client wiki w/ French (or other language with non-default 'File:'
namespace) using it via ForeignDBRepo, with 'hasSharedCache' on
* Configure both to use memcached
* Upload some file to shared repo, say 'Redirect test target.png'
* Access a so far non-existent file 'Redirect test source.png' *from the client
site*
* Create a redirect *on the shared repo* from 'File:Redirect test source.png'
to 'File:Redirect test target.png'
* Attempt to access 'Redirect test source.png' again from both wikis

Expected result:
* Functional redirect on English master site
* Functional redirect on French client site

Actual result:
* Functional redirect on English master site
* Missing redirect on French client site, as though the site never exists

The two wikis are caching their redirect lookups under separate keys because
the key includes the local namespace name. When the English wiki updates its
records for the creation of the redirect, it thus isn't able to clear the
negative-lookup record the French wiki cached previously. Until the cache
record expires, it won't attempt to look up the redirect in the database again.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to