Skip to content

Conversation

@rosalieper
Copy link
Contributor

@rosalieper rosalieper commented Jan 22, 2026

While working on T415017 I noticed that the WikiUserEmailChecker took a longer time to run after passing user_email to a function like LOWER in the query. This refactoring reduces the number of query calls we make in other to improve performance.

Bug: T415017

Copy link
Member

@outdooracorn outdooracorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Left some minor nitpick comments.

rosalieper and others added 2 commits January 22, 2026 17:00
Co-authored-by: Ollie <43674967+outdooracorn@users.noreply.github.com>
Co-authored-by: Ollie <43674967+outdooracorn@users.noreply.github.com>
Comment on lines 32 to 34
WHERE TABLE_SCHEMA LIKE 'mwdb\_%'
WHERE TABLE_SCHEMA LIKE 'mwdb_%'
AND TABLE_NAME LIKE '%_user'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blah! Looks like the GitHub suggest feature messed up. 🥲 Sorry about that!

@outdooracorn
Copy link
Member

The PR title doesn't seem quite right to me. How about "Refactor WikiUserEmailChecker service"?

It would also be good to say why you made this refactor. What are the advantages?

And a Bug: git trailer.

@rosalieper rosalieper changed the title Refactor gdpr script Refactor WikiUserEmailChecker service Jan 22, 2026
Co-authored-by: Ollie <43674967+outdooracorn@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants