Last modified: 2013-04-25 12:38:48 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 T48536, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46536 - Incorrect filter totals in cache; need to be purged in eqiad
Incorrect filter totals in cache; need to be purged in eqiad
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ArticleFeedbackv5 (Other open bugs)
unspecified
All All
: Highest blocker (vote)
: ---
Assigned To: Matthias Mullie
:
Depends on: 46428
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-25 13:46 UTC by Matthias Mullie
Modified: 2013-04-25 12:38 UTC (History)
2 users (show)

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


Attachments

Description Matthias Mullie 2013-03-25 13:46:37 UTC
After running a maintenance script (multiple times - had error for dewiki first time) to merge legacy AFTv5 entries to the new db cluster, incorrect filter totals are being displayed.

This appears to be caused by having visited an article feedback page during when the maintenance script was running and/or had completed with incorrect data. From the moment the data has been fetched once, it remains in cache forever (the query alternative is expensive) and upon adding/deleting/updating new entries, the cached totals are updated.
Unfortunately, when moderating AFTv5 entries now, the totals that are being updated are incorrect to start from.

A maintenance script to purge caches exists: extensions/ArticleFeedbackv5/maintenance/purgeCache.php. It can not be used though, since mwscript runs against pmtpa memcached servers & web requests eqiad.
Comment 1 Matthias Mullie 2013-03-25 13:50:24 UTC
If no solution to be able to manipulate (in this case: purge) eqiad MC caches from fenari, I could change all cache keys to use a different prefix.

This would result in new caches to be used and populated. I'd rather not do this though, since the left-over, unused keys are all permanent (do not expire)
Comment 2 Andre Klapper 2013-03-25 13:52:21 UTC
[Making bug summary more specific, to differentiate from bug 46423]
Comment 3 Andre Klapper 2013-04-16 10:30:24 UTC
(In reply to comment #0)
> A maintenance script to purge caches exists:
> extensions/ArticleFeedbackv5/maintenance/purgeCache.php. It can not be used
> though, since mwscript runs against pmtpa memcached servers & web requests
> eqiad.

Note: Aaron stated in https://bugzilla.wikimedia.org/show_bug.cgi?id=46428#c16 that "MWScript.php and mwscript are working now after some permission fixes by Peter and after https://gerrit.wikimedia.org/r/#/c/58124/, so I think terbium starting to get usable. I'll probably start running some scripts on it today myself."

If there is something else blocking progress here, could somebody please elaborate what's needed?
Comment 4 Matthias Mullie 2013-04-16 10:32:27 UTC
That blocker should indeed be resolved & I'll start purging the caches during the deployment window later today.
If all goes well, that should fix it.
Comment 5 Andre Klapper 2013-04-25 12:05:06 UTC
(In reply to comment #4 by Matthias Mullie)
> That blocker should indeed be resolved & I'll start purging the caches during
> the deployment window later today.
> If all goes well, that should fix it.

Matthias: Did it? If not, any timeframe?
Comment 6 Matthias Mullie 2013-04-25 12:38:48 UTC
It did fix it!

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


Navigation
Links