Last modified: 2014-03-31 10:02:03 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 T54918, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52918 - API query to get the oldest AbuseFilter modification times out (while the one to get the newer modification works fine)
API query to get the oldest AbuseFilter modification times out (while the one...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.22.0
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://en.wikipedia.org/w/api.php?ac...
: performance
Depends on: 49199
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-16 12:25 UTC by Helder
Modified: 2014-03-31 10:02 UTC (History)
5 users (show)

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


Attachments

Description Helder 2013-08-16 12:25:22 UTC
Most of the time I get "504 Gateway Time-out" if I try to get the oldest abuse filter modification(s) using the API (try the URL above). The analogous query without "&ledir=newer" works perfectly.
Comment 1 Brad Jorsch 2013-08-19 19:04:48 UTC
It looks like the query is probably timing out because it's searching through all log entries in order by date for the first one with the specified action; since AbuseFilter is relatively recent, that's a lot to go through before it finds one.

We should use the type_action index (instead of 'times') when leaction is given, but apparently that was never added to WMF wikis. So I'm marking this as depending on bug 49199.
Comment 2 Brad Jorsch 2013-08-19 19:10:13 UTC
I knew there was a previous bug like this one. Gerrit change #59418 (from bug 46713) should fix this too.
Comment 3 Umherirrender 2014-01-19 10:01:51 UTC
The given url works for me, maybe the remove of FORCE INDEX in Gerrit change #85436 was the fix.
Comment 4 Umherirrender 2014-02-09 16:37:17 UTC
No response this 3 weeks, so FIXED per comment 3
Comment 5 Gerrit Notification Bot 2014-03-31 10:02:03 UTC
Change 59418 abandoned by Matthias Mullie:
(bug 46713) Getting AFTv5 logs via API times out on English Wikipedia

Reason:
Looks like the forced indexes are gone, no need for this anymore

https://gerrit.wikimedia.org/r/59418

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


Navigation
Links