Page MenuHomePhabricator

Analyze most recent 350,000 edits instead of rejecting query in user-related tools
Open, NormalPublic8 Story Points

Description

I cannot search for a particular user's contribution but get this error message instead: "User has made too many edits! (Maximum 350,000)". This happens with the user-related tools such as Edit Counter, Pages Created, and Top Edits.

We should look into analyzing only the most recent 350,000 edits instead of rejecting the request altogether. It's possible things will still go too slow, so we should test some queries first.

Event Timeline

It unfortunately is not feasible to run these queries for a user with that many edits (in this case 1.4 million!). I just tried using some alternative, more simple queries to see if we could get any data, and it still took so long that it would time out. The other issue is long running queries can slow down XTools for everyone else. For this reason we have to have the 350,000 revision limit. Sorry!

The message is referring to the number of edits the user made. To find the pages they created, XTools essentially looks at every edit made by that user. I can't think of better wording but if you any ideas please feel free to share :)

T183351 is for a different tool but is the same underlying issue. The proposed solution to analyze only the last 350,000 I think could work for both. I'm repurposing this ticket to investigate doing this for all user-related tools.

MusikAnimal renamed this task from [Pages Created] Error: "User has made too many edits! (Maximum 350,000)" to Analyze most recent 350,000 edits instead of rejecting query in user-related tools.Jan 7 2018, 3:21 PM
MusikAnimal updated the task description. (Show Details)
MusikAnimal moved this task from Inbox to Other on the XTools board.Jan 7 2018, 3:28 PM
MusikAnimal updated the task description. (Show Details)
MusikAnimal triaged this task as Normal priority.May 2 2018, 3:11 AM
MusikAnimal set the point value for this task to 8.Aug 10 2018, 11:29 PM