Last modified: 2009-02-20 21:29:32 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 T19573, the corresponding Phabricator task for complete and up-to-date bug report information.
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