Page MenuHomePhabricator

CheckUserLog API DB queries for username targets taking over 5 seconds
Closed, ResolvedPublic

Description

There are several occurences of the CheckUserLog API requests on enwiki taking over 5 seconds and being flagged by the TransactionProfiler.

Example:

Expectation (readQueryTime <= 5) by ApiMain::setRequestExpectations not met (actual: 6.7618520259857) in trx #7d2c5fa196

Event Timeline

Change 936098 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CheckUser@master] CheckUserLog API: Search by for users by target ID

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

Dreamy_Jazz updated the task description. (Show Details)
Dreamy_Jazz updated the task description. (Show Details)
Dreamy_Jazz renamed this task from CheckUserLog API DB queries taking over 5 seconds to CheckUserLog API DB queries for username targets taking over 5 seconds.Jul 6 2023, 10:49 PM

Change 936098 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] CheckUserLog API: Search by for users by target ID

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

I intend to wait until wmf.19 is on all wikis before checking logstash to see if this continues to be an issue.

Dreamy_Jazz claimed this task.