Last modified: 2009-02-20 21:29:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 17573 - SRF-Ploticus: Ensure generated hash for plots are unique
SRF-Ploticus: Ensure generated hash for plots are unique
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticResultFormats (Other open bugs)
unspecified
All All
: Normal trivial (vote)
: ---
Assigned To: Joel Natividad
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-02-19 20:00 UTC by Joel Natividad
Modified: 2009-02-20 21:29 UTC (History)
0 users

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


Attachments

Description Joel Natividad 2009-02-19 20:00:55 UTC
Currently, SRF-Ploticus creates a hash based on the query params, and if liveupdating is on, the query result set.

Though it may be slim, there is a small chance of a cache collision when two separate identical queries with liveupdating=false may retrieve the wrong results from the cache.

To eliminate this possibility, seed the hash with the article name and the query runnumber as well.
Comment 1 Joel Natividad 2009-02-20 21:29:32 UTC
Fixed in revision 47591 (http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=47591).

Seeded hash with $wgArticle->mTitle and $smwgIQRunningNumber to eliminate the possibility of cache collisions for identical ploticus queries across pages.

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


Navigation
Links