Page MenuHomePhabricator

Ladsgroup (Amir Sarabadani)
Shah of Bugs, Emir of database architecture, World-renowned rubber duckAdministrator

Projects (36)

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Monday

  • Clear sailing ahead.

User Details

User Since
Oct 6 2014, 9:53 PM (511 w, 4 d)
Roles
Administrator
Availability
Available
IRC Nick
Amir1
LDAP User
Ladsgroup
MediaWiki User
Ladsgroup [ Global Accounts ]

Staff Database Architect in SRE data persistence team in WMF. Used to be Wikidata software engineer at WMDE

I'm also open source enthusiast, mediawiki volunteer developer, and long-term Wikipedian.

All edits on tickets about databases are in my work capacity and anything else is in my volunteer capacity unless mentioned otherwise.

Babel: fa-N, en-4, de-2, tr-1, hu-1

Recent Activity

Yesterday

Ladsgroup added a comment to T191156: Convert FlaggedRevisions to Codex.
.mw-content-subtitle > .cdx-message :not(.mw-revision) {
  whatever you like;
}
Fri, Jul 26, 10:34 PM · MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), Patch-For-Review, MW-1.41-notes (1.41.0-wmf.20; 2023-08-01), User-notice, Growth-Team-Filtering, MinervaNeue (Tracking), Mobile, Growth-Team, MediaWiki-extensions-FlaggedRevs
Ladsgroup added a comment to T191156: Convert FlaggedRevisions to Codex.

Well, that's just incorrect. You can do this:

.mw-content-subtitle > .cdx-message {
  whatever you like;
}
Fri, Jul 26, 10:25 PM · MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), Patch-For-Review, MW-1.41-notes (1.41.0-wmf.20; 2023-08-01), User-notice, Growth-Team-Filtering, MinervaNeue (Tracking), Mobile, Growth-Team, MediaWiki-extensions-FlaggedRevs
Ladsgroup updated the task description for T348573: All Wikimedia extensions that store their data outside the main database should use a virtual database domain.
Fri, Jul 26, 11:57 AM · Patch-For-Review, Epic, WMF-General-or-Unknown
Ladsgroup added a comment to T191156: Convert FlaggedRevisions to Codex.

@Ladsgroup Russian Wikipedia community, as one of the biggest communities using FR on all articles, has a consensus that this change should be completely reverted: https://ru.wikipedia.org/wiki/Project:Форум/Технический#Новый_интерфейс_патрулирования . New design is unimaginably horrible and unacceptable, also buggy (dropdown lists don't disappear).

Fri, Jul 26, 11:52 AM · MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), Patch-For-Review, MW-1.41-notes (1.41.0-wmf.20; 2023-08-01), User-notice, Growth-Team-Filtering, MinervaNeue (Tracking), Mobile, Growth-Team, MediaWiki-extensions-FlaggedRevs
Ladsgroup added a comment to T110645: Interwiki support for Newsletter extension.

Regarding cross wiki reads and central table. You can use virtual domains now. Here is more details on it: https://www.mediawiki.org/wiki/Manual:$wgVirtualDomainsMapping

Fri, Jul 26, 11:32 AM · Patch-For-Review, MediaWiki-extensions-Newsletter
Ladsgroup moved T370912: Prepare and check storage layer for cswikivoyage from Triage to Done on the DBA board.

It is now ready for DE team.

Fri, Jul 26, 11:18 AM · Data-Services, DBA
Ladsgroup added a comment to T370912: Prepare and check storage layer for cswikivoyage.

On it

Fri, Jul 26, 10:51 AM · Data-Services, DBA
Ladsgroup added a project to T371078: Create Mailing List: Wikidata for Wikimedia Projects (wikidata-4-wikimedia): Wikidata Integrations Team.
Fri, Jul 26, 10:21 AM · Wikidata Integrations Team, SRE, Wikimedia-Mailing-lists
Ladsgroup claimed T371078: Create Mailing List: Wikidata for Wikimedia Projects (wikidata-4-wikimedia).

Overall looks good to go. But name of the mailing list is basically impossible to change in mm3. Can you pick a better name? like wikidata-for-wiki-projects@ wikidata-for-wikis@ wikidata-for-wikimedia@?

Fri, Jul 26, 10:19 AM · Wikidata Integrations Team, SRE, Wikimedia-Mailing-lists
Ladsgroup added a comment to T191156: Convert FlaggedRevisions to Codex.

I might backport this change on Monday but not today.

Fri, Jul 26, 10:16 AM · MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), Patch-For-Review, MW-1.41-notes (1.41.0-wmf.20; 2023-08-01), User-notice, Growth-Team-Filtering, MinervaNeue (Tracking), Mobile, Growth-Team, MediaWiki-extensions-FlaggedRevs
Ladsgroup added a comment to T370265: Create new translate_cache table on Wikimedia wikis with the Translate extension installed.

My review of the design:

  • I need to understand why we are going to have a cache table. Why memcached or something else is not working here?
  • "1 query will be run every time a user views a non translatable wikitext page." is a decent chunk, can you cache the value in memcached for shorter period of time on top of the reads? (using page_touched as key to make invalidation work out of the box?)
  • This should be in x1, it can be per-wiki. That's fine (we have a database for each wiki in x1). You can use virtual domains to make this work easily.
Fri, Jul 26, 12:26 AM · Data-Persistence, LPL Essential (LPL Essential 2024 Jul-Sep), MediaWiki-extensions-Translate

Thu, Jul 25

Ladsgroup triaged T371052: FlaggedRevs: RecentChanges filters no longer work as High priority.

Not merged on master

Thu, Jul 25, 11:02 PM · MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), Wikimedia-production-error, Regression, MediaWiki-extensions-FlaggedRevs
Ladsgroup added a comment to T371052: FlaggedRevs: RecentChanges filters no longer work.

I suggest merging the backport but not the patch on master. That'd make things easier and give you enough time to make proper fix.

Thu, Jul 25, 10:36 PM · MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), Wikimedia-production-error, Regression, MediaWiki-extensions-FlaggedRevs
Ladsgroup added a comment to T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting APIFeatureUsage.

Creating new tables needs to be signed off by a DBA beforehand: https://wikitech.wikimedia.org/wiki/Creating_new_tables

Thu, Jul 25, 4:43 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.15; 2024-07-23), MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search

Wed, Jul 24

Ladsgroup claimed T370903: Remove cuc_actiontext, cuc_only_for_read_old, and cuc_private from cu_changes on WMF wikis.

Before:

root@db2194:/srv/sqldata/loginwiki# ls -Ssh | grep -i cu_changes
193M cu_changes.ibd
Wed, Jul 24, 6:57 PM · CheckUser, Data-Engineering, DBA, Data Products, Schema-change-in-production
Ladsgroup updated the task description for T370903: Remove cuc_actiontext, cuc_only_for_read_old, and cuc_private from cu_changes on WMF wikis.
Wed, Jul 24, 6:50 PM · CheckUser, Data-Engineering, DBA, Data Products, Schema-change-in-production
Ladsgroup added a comment to T369658: Q1:rack/setup/install pc2017.

Thank you so much!

Wed, Jul 24, 3:32 PM · DBA, SRE, Data-Persistence, ops-codfw, DC-Ops
Ladsgroup added a comment to T370304: Exception caught inside exception handler: Wikimedia\Rdbms\DBUnexpectedError: Database servers in extension1 are overloaded..

Wrote the python script. Yup almost all of the updates to page table is to page_touched (964971 updates in 11 minutes). Then I cross checked it with SBR binlog of the same time. Almost all are coming from /* HTMLCacheUpdateJob::invalidateTitles */
Stuff like:

UPDATE /* HTMLCacheUpdateJob::invalidateTitles  */  `page` SET page_touched = '20240723090952' WHERE page_id IN (101998615,101998616,101998618,101998619,101998620,101998621,101998622,101998623,101998624,101998625,101998626,101998627,101998628,101998631,101998632,101998634,101998635,101998636,101998638,101998640,101998641,101998643,101998645,101998647,101998648,101998650,101998652,101998653,101998654,101998655,101998656,101998657,101998658,101998659,101998660,101998661,101998663,101998664,101998665,101998666,101998667,101998668,101998669,101998670,101998672,101998673,101998674,101998675,101998676,101998678,101998679,101998680,101998681,101998682,101998683,101998684,101998685,101998687,101998688,101998689,101998694,101998695,101998696,101998697,101998698,101998699,101998700,101998701,101998702,101998703,101998704,101998705,101998706,101998707,101998708,101998709,101998710,101998711,101998712,101998713,101998714,101998715,101998716,101998717,101998718,101998721,101998722,101998723,101998724,101998726,101998728,101998730,101998733,101998737,101998738,101998739,101998742,101998743,101998747,101998748)  AND (page_touched < '20240723085452')
Wed, Jul 24, 11:34 AM · Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.15; 2024-07-23), User-notice, Wikimedia-Incident, DBA, Wikimedia-production-error
Ladsgroup added a comment to T370852: Migrate codfw row C & D database hosts to new Leaf switches.

This should have the map: https://fault-tolerance.toolforge.org/map?cluster=s1

Wed, Jul 24, 11:26 AM · DBA, ops-codfw, Infrastructure-Foundations, netops, DC-Ops, SRE
Ladsgroup added a comment to T370304: Exception caught inside exception handler: Wikimedia\Rdbms\DBUnexpectedError: Database servers in extension1 are overloaded..

Can be. I think a main driver is that many templates are being edited to make them compatible with dark mode. Combine that with many performance improvements, It's causing issues in the next bottleneck.

Wed, Jul 24, 9:57 AM · Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.15; 2024-07-23), User-notice, Wikimedia-Incident, DBA, Wikimedia-production-error

Tue, Jul 23

Ladsgroup added a comment to T365998: Upgrade EVPN switches Eqiad row E-F to JunOS 22.2 -lsw1-f3-eqiad .

I'm repooling the replicas now.

Tue, Jul 23, 9:54 PM · SRE-swift-storage, DBA, Data-Persistence, Infrastructure-Foundations, netops, SRE
Ladsgroup added a comment to T370304: Exception caught inside exception handler: Wikimedia\Rdbms\DBUnexpectedError: Database servers in extension1 are overloaded..

We had a much shorter spike of writes and page for unavailability today. I spent some more time digging.

Tue, Jul 23, 7:05 PM · Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.15; 2024-07-23), User-notice, Wikimedia-Incident, DBA, Wikimedia-production-error
Ladsgroup awarded T364417: deploy1003 implementation tracking a Barnstar token.
Tue, Jul 23, 12:11 PM · Patch-For-Review, serviceops

Mon, Jul 22

Ladsgroup added a comment to T370394: Drop gb_by from globalblocks table.

This has more information on the why: T299371: Migrate globalblocks table to use central ids instead of usernames

Mon, Jul 22, 3:31 PM · Data-Engineering, Schema-change-in-production, DBA
01tonythomas awarded T370602: Apply Newsletter schema change (make indices non-unique) a Yellow Medal token.
Mon, Jul 22, 11:07 AM · DBA, MediaWiki-extensions-Newsletter, Data-Engineering, Schema-change-in-production, Data Products
Ladsgroup closed T370602: Apply Newsletter schema change (make indices non-unique) as Resolved.

Ran it with replication on testwiki, mediawiki.org, officewiki.

Mon, Jul 22, 11:05 AM · DBA, MediaWiki-extensions-Newsletter, Data-Engineering, Schema-change-in-production, Data Products
Ladsgroup moved T370602: Apply Newsletter schema change (make indices non-unique) from Triage to In progress on the DBA board.
Mon, Jul 22, 11:03 AM · DBA, MediaWiki-extensions-Newsletter, Data-Engineering, Schema-change-in-production, Data Products
Ladsgroup claimed T370602: Apply Newsletter schema change (make indices non-unique).
Mon, Jul 22, 11:03 AM · DBA, MediaWiki-extensions-Newsletter, Data-Engineering, Schema-change-in-production, Data Products
Ladsgroup claimed T370304: Exception caught inside exception handler: Wikimedia\Rdbms\DBUnexpectedError: Database servers in extension1 are overloaded..

After the improvements, I'm monitoring to see if any further issues show up.

Mon, Jul 22, 10:51 AM · Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.15; 2024-07-23), User-notice, Wikimedia-Incident, DBA, Wikimedia-production-error
Ladsgroup closed T370531: Remove words with apostrophes from captcha wordlist as Resolved.
Mon, Jul 22, 10:37 AM · SRE, ConfirmEdit (CAPTCHA extension), WMF-General-or-Unknown
Ladsgroup added a comment to T241053: Normalize globalimagelinks table.

In T370378 we're discussing potentially broadening the scope of gil_to to any pages rather than just files, so maybe we could normalize gil_to to a linktarget instead, and solve both this task and that one at the same time.

Mon, Jul 22, 10:22 AM · Platform Engineering Roadmap Decision Making, GlobalUsage, StructuredDataOnCommons
Ladsgroup created T370624: Reduce concurrency of RecordLintJobs or shard it per section.
Mon, Jul 22, 10:10 AM · RESTBase Sunsetting, Content-Transform-Team-WIP, MediaWiki-extensions-Linter
Ladsgroup added a comment to T370304: Exception caught inside exception handler: Wikimedia\Rdbms\DBUnexpectedError: Database servers in extension1 are overloaded..

Now it seems to be working. It's doing a lot of writes since it's deleting the old rows. I don't know when that ends but hopefully soon. Things should be better now (and get much better once lint jobs are done with deletes).

grafik.png (921×1 px, 216 KB)

Mon, Jul 22, 1:38 AM · Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.15; 2024-07-23), User-notice, Wikimedia-Incident, DBA, Wikimedia-production-error
Ladsgroup added a comment to T370304: Exception caught inside exception handler: Wikimedia\Rdbms\DBUnexpectedError: Database servers in extension1 are overloaded..

Still getting flood of writes (newer check shows 47% of the writes) and reading the code, the "enable" part won't seem to be impacting the db writes it seems. I even see this:

			if ( $errorInfo['type'] === 'inline-media-caption' ) {
				// Drop lints of this type for now
				continue;
			}
Mon, Jul 22, 12:56 AM · Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.15; 2024-07-23), User-notice, Wikimedia-Incident, DBA, Wikimedia-production-error
Ladsgroup added a comment to T370304: Exception caught inside exception handler: Wikimedia\Rdbms\DBUnexpectedError: Database servers in extension1 are overloaded..

Some brain dump.

Mon, Jul 22, 12:45 AM · Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.15; 2024-07-23), User-notice, Wikimedia-Incident, DBA, Wikimedia-production-error

Sun, Jul 21

Ladsgroup added a comment to T369855: db1179 crashed - hardware issues.

Server is back up no errors on idrac

Sun, Jul 21, 10:59 PM · SRE, DC-Ops, ops-eqiad, DBA
Ladsgroup added a comment to T370304: Exception caught inside exception handler: Wikimedia\Rdbms\DBUnexpectedError: Database servers in extension1 are overloaded..

Lint writes are now gone. db1179 so far looks good (logs looks good, aria logs look good, replication hasn't broken, ...) and is catching up (now only 7 days left). Once it's fully caught up, I repool it to reduce the chance of x1 bringing everything down.

Sun, Jul 21, 10:53 PM · Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.15; 2024-07-23), User-notice, Wikimedia-Incident, DBA, Wikimedia-production-error
Ladsgroup added a comment to T370304: Exception caught inside exception handler: Wikimedia\Rdbms\DBUnexpectedError: Database servers in extension1 are overloaded..

I'm also repooling db1179 (x1) now (after checking for errors since it just started after hardware crash: T369855: db1179 crashed - hardware issues) that would prevent the circuit breaking to kick in for x1 and reduce the impact of the issue.

Sun, Jul 21, 10:15 PM · Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.15; 2024-07-23), User-notice, Wikimedia-Incident, DBA, Wikimedia-production-error
Ladsgroup added a comment to T370304: Exception caught inside exception handler: Wikimedia\Rdbms\DBUnexpectedError: Database servers in extension1 are overloaded..

I'm also repooling db1179 (x1) now (after checking for errors since it just started after hardware crash: T369855: db1179 crashed - hardware issues) that would prevent the circuit breaking to kick in for x1 and reduce the impact of the issue.

Sun, Jul 21, 10:12 PM · Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.15; 2024-07-23), User-notice, Wikimedia-Incident, DBA, Wikimedia-production-error
Ladsgroup added a comment to T370304: Exception caught inside exception handler: Wikimedia\Rdbms\DBUnexpectedError: Database servers in extension1 are overloaded..

it is because s4 gets overloaded and it brings down x1 with itself and a lot of other places go down too.

Sun, Jul 21, 9:52 PM · Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.15; 2024-07-23), User-notice, Wikimedia-Incident, DBA, Wikimedia-production-error

Fri, Jul 19

Ladsgroup added a comment to T370304: Exception caught inside exception handler: Wikimedia\Rdbms\DBUnexpectedError: Database servers in extension1 are overloaded..

Why did s4 problems cause wikis not on s4 to throw errors?

Fri, Jul 19, 1:09 AM · Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.15; 2024-07-23), User-notice, Wikimedia-Incident, DBA, Wikimedia-production-error
Ladsgroup added a comment to T370304: Exception caught inside exception handler: Wikimedia\Rdbms\DBUnexpectedError: Database servers in extension1 are overloaded..

I'm on it. It's s4 being exhausted.

Fri, Jul 19, 12:58 AM · Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.15; 2024-07-23), User-notice, Wikimedia-Incident, DBA, Wikimedia-production-error

Thu, Jul 18

Ladsgroup added a comment to T368151: Add a shared table to CheckUser that records changes to different wikis per IP address of the user.

Edits by temp users/logged out users are quite small in number. Recording information on all users edits in all wikis requires two orders of magnitude more writes and more rows (specially in the original idea of storing all of them in one table) and can and will cause issues for the databases if we are not very careful. The last 90 days won't help much (if anything, it adds even more simultanes writes and potential deadlocks and contentions.) I highly recommend you separate the global block and GUC tables. GUC for temp users is tiny compared the global autoblocks one (or non-temp GUC one) and can easily move forward. But I recommend these mitigations before doing anything on global autoblocks or non-temp GUC:

  • Do not try to update the timestamp if it's updated within last minute (debounce it).
  • (maybe) if the last update was within an hour, roll a dice and update the timestamp in 10% of the times only.
  • Don't store any information on the bots
  • Don't store information on WMCS CIDR ranges (we skip global block checks for those as they caused outages).
  • (maybe) Don't store anything on wikidata and always separately make a query to rc table of it when GUC is being used.
  • Be very careful about your data structures and DDLs. I suggest splitting IPv6 and IPv4 if you're planning to store IPs for non-temp users. T292623#7546780
  • Make sure the writes happen in a job, not part of main transaction or deferred update.
Thu, Jul 18, 12:49 AM · Trust and Safety Product Sprint (Sprint Koto (July 15 - July 26)), Patch-For-Review, Schema-change, Temporary accounts (Blockers to pilot wiki deployment), CheckUser, Trust and Safety Product Team
Ladsgroup added a comment to T304653: Release and package auto_schema 0.1.0.

It is valid. I want to get it out sometime so you would just clone schema changes repo (not dbtools) and directly run the python file. No extra hassle necessary but it also depends on how the long-term automation for db work is going to look like.

Thu, Jul 18, 12:25 AM · Auto schema, DBA, User-Ladsgroup
Ladsgroup added a comment to T370265: Create new translate_cache table on Wikimedia wikis with the Translate extension installed.

You still need to get the design and schema approved before creating it in production: https://wikitech.wikimedia.org/wiki/Creating_new_tables

Thu, Jul 18, 12:24 AM · Data-Persistence, LPL Essential (LPL Essential 2024 Jul-Sep), MediaWiki-extensions-Translate
Ladsgroup added a comment to T370304: Exception caught inside exception handler: Wikimedia\Rdbms\DBUnexpectedError: Database servers in extension1 are overloaded..

Besides the DB issue, there's also the minor issue that it would be nice if this got reported to the user with the real error message, not the cryptic "Exception caught inside exception handler".

Thu, Jul 18, 12:22 AM · Content-Transform-Team-WIP, MW-1.43-notes (1.43.0-wmf.15; 2024-07-23), User-notice, Wikimedia-Incident, DBA, Wikimedia-production-error
Ladsgroup added a comment to T366959: 1.43.0-wmf.14 deployment blockers.

That's weird, s1 is enwiki and that's group2. I don't know anything that would do a cross wiki read to enwiki from a group1 wiki not to mention writes. Do we have some samples on what was overwhelming s1?

Thu, Jul 18, 12:15 AM · Release-Engineering-Team (Priority Backlog 📥), Release, Train Deployments
Ladsgroup added a comment to T191156: Convert FlaggedRevisions to Codex.

@Ladsgroup Re: Tech News - What wording would you suggest as the content, and When should it be included? Thanks!

Thu, Jul 18, 12:10 AM · MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), Patch-For-Review, MW-1.41-notes (1.41.0-wmf.20; 2023-08-01), User-notice, Growth-Team-Filtering, MinervaNeue (Tracking), Mobile, Growth-Team, MediaWiki-extensions-FlaggedRevs
Ladsgroup added a comment to T191156: Convert FlaggedRevisions to Codex.

Regarding the size of banner, I seriously and honestly think both sides are right but they are not mutually exclusive.

  • It is true that this is it has gotten much bigger. In my localhost it went from 22px (height) to 58px. That's a 2.6x original size. This jump can be quite annoying and at least takes some getting used to.
  • It is also true that the original design was way too small as well and completely random without any adherence to UX principals and should have switched to a proper codex message box.
    • I want to expand upon this. This message is being shown when the user is either reading an outdated version of the article (stable=1) or a version of article that has pending changes (+ call to action to review the change). This is an important note about the article you're reading but it has been hidden away in an extremely small box for decades.
    • To draw a parallel, it is literally like reading an old version of the article (?oldid=###) and that has a massive yellow box at the top which is 70px in my localhost (bigger than the message box we merged). Amboxes are also usually bigger and more noticeable as well.
Thu, Jul 18, 12:02 AM · MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), Patch-For-Review, MW-1.41-notes (1.41.0-wmf.20; 2023-08-01), User-notice, Growth-Team-Filtering, MinervaNeue (Tracking), Mobile, Growth-Team, MediaWiki-extensions-FlaggedRevs

Wed, Jul 17

Ladsgroup awarded Blog Post: Iterative Improvements a Yellow Medal token.
Wed, Jul 17, 11:47 PM

Tue, Jul 16

Ladsgroup moved T191156: Convert FlaggedRevisions to Codex from Already announced/Archive to Announce in next Tech/News on the User-notice board.

This should be announced.

Tue, Jul 16, 4:47 PM · MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), Patch-For-Review, MW-1.41-notes (1.41.0-wmf.20; 2023-08-01), User-notice, Growth-Team-Filtering, MinervaNeue (Tracking), Mobile, Growth-Team, MediaWiki-extensions-FlaggedRevs
Ladsgroup reassigned T191156: Convert FlaggedRevisions to Codex from Ladsgroup to Dogu.
Tue, Jul 16, 9:39 AM · MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), Patch-For-Review, MW-1.41-notes (1.41.0-wmf.20; 2023-08-01), User-notice, Growth-Team-Filtering, MinervaNeue (Tracking), Mobile, Growth-Team, MediaWiki-extensions-FlaggedRevs
Ladsgroup added a comment to T370010: Request quota increase for huma project.

Thank you!

Tue, Jul 16, 9:37 AM · Cloud-VPS (Quota-requests)

Mon, Jul 15

Ladsgroup created T370010: Request quota increase for huma project.
Mon, Jul 15, 12:15 AM · Cloud-VPS (Quota-requests)

Sun, Jul 14

Ladsgroup created T370003: Diff pages: User card is not on dark mode.
Sun, Jul 14, 7:23 PM · Web-Team-Backlog ( FY2024-25 Q1 Sprint 3), Unplanned-Sprint-Work, FY2023-24-WE 2.1 Typography and palette customizations, MinervaNeue, MediaWiki-Page-diffs, dark-mode
Ladsgroup awarded T369475: Make ul and ol margin values direction aware a Orange Medal token.
Sun, Jul 14, 5:34 PM · MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), Unplanned-Sprint-Work, Web-Team-Backlog (FY2024-25 Q1 Sprint 2), MediaWiki-Platform-Team (Radar), CSSJanus, MediaWiki-General, I18n, CSS
Ladsgroup added a comment to T369594: Move conftool to gitlab, turn on deb package auto-generation.

The codesearch patch should be automatically deployed in a day. If it doesn't let me know to kick the service manually.

Sun, Jul 14, 4:58 PM · Patch-For-Review, serviceops, User-CDanis, User-Joe, conftool
Ladsgroup added a comment to T369855: db1179 crashed - hardware issues.

Also noting that this is a candidate master.

Sun, Jul 14, 4:58 PM · SRE, DC-Ops, ops-eqiad, DBA
Ladsgroup reopened T368598: Pasting into text styling on VisualEditor turns it into a cloud character as "Open".

Since this is a valid bug report, I reopened it but removed the CommTech tag, feel free to unsubscribe.

Sun, Jul 14, 4:49 PM · Editing-team, VisualEditor-CopyPaste, VisualEditor

Wed, Jul 10

Ladsgroup closed T277883: Drop all low-use and unused features of FlaggedRevs to make it more maintainable as Resolved.

We cut the size of this extension to half. Sure more can be done but I don't see any obvious removals anymore.

Wed, Jul 10, 4:07 PM · User-notice-archive, MW-1.43-notes (1.43.0-wmf.7; 2024-05-28), MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Patch-For-Review, MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), MW-1.40-notes (1.40.0-wmf.27; 2023-03-13), MW-1.39-notes (1.39.0-wmf.23; 2022-08-01), MW-1.38-notes (1.38.0-wmf.21; 2022-02-07), MW-1.37-notes (1.37.0-wmf.17; 2021-08-02), MW-1.36-notes (1.36.0-wmf.38; 2021-04-06), Technical-Debt, User-Ladsgroup, Epic, MediaWiki-extensions-FlaggedRevs
Ladsgroup closed T366852: Discover and fix under-utilized replicas as Resolved.

I bumped a couple replicas that were obviously under-utilized. The rest were like this for a reason (e.g. being used as vslow/dump replica) so I think it's good for now.

Wed, Jul 10, 4:07 PM · DBA
Ladsgroup closed T277883: Drop all low-use and unused features of FlaggedRevs to make it more maintainable, a subtask of T185664: Code stewardship review: FlaggedRevs, as Resolved.
Wed, Jul 10, 4:04 PM · User-notice, MediaWiki-extensions-FlaggedRevs, Code-Stewardship-Reviews
Ladsgroup closed T369710: Wikisource Conference Mailing list as Resolved.

https://lists.wikimedia.org/postorius/lists/wikisource-conf.lists.wikimedia.org/

Wed, Jul 10, 1:37 PM · SRE, Wikimedia-Mailing-lists
Ladsgroup added a comment to T369675: early revisions on at least 7 wikimedia wikis are showing up with timestamps listed as the current time in both interface and API.

rev_timestamp is empty in the database:

wikiadmin2023@10.64.16.46(simplewiki)> select * from revision where rev_id = 22329;
+--------+----------+----------------+-----------+----------------+----------------+-------------+---------+---------------+---------------------------------+
| rev_id | rev_page | rev_comment_id | rev_actor | rev_timestamp  | rev_minor_edit | rev_deleted | rev_len | rev_parent_id | rev_sha1                        |
+--------+----------+----------------+-----------+----------------+----------------+-------------+---------+---------------+---------------------------------+
|  22329 |     7870 |         113519 |     28592 |                |              0 |           0 |     205 |             0 | 3vcdufxmrq68yxp7cmap3cr50qvdqm5 |
+--------+----------+----------------+-----------+----------------+----------------+-------------+---------+---------------+---------------------------------+
1 row in set (0.001 sec)
Wed, Jul 10, 12:17 PM · Wikimedia-database-issue (Bad data), MediaWiki-Core-Revision-backend
Ladsgroup updated the task description for T352010: Gradually drop old pagelinks columns.
Wed, Jul 10, 11:31 AM · Schema-change-in-production, DBA, MediaWiki-Page-derived-data

Tue, Jul 9

Ladsgroup added a comment to T268199: Graduate codesearch to production.

Making these images pushed to docker registry via CI is actually quite complicated because codesearch pushes via blubber (I don't think there is any other way) and you can push only one image per repo. Not to mention that converting Dockerfile of frontend to a blubber file is quite a lot of work :( any ideas are welcome here.

Tue, Jul 9, 11:33 PM · collaboration-services, VPS-project-Codesearch
Ladsgroup added a comment to T268199: Graduate codesearch to production.

One thing to be done here:

add a systemd unit for the frontend. See T367479#9904556

Tue, Jul 9, 11:20 PM · collaboration-services, VPS-project-Codesearch
Ladsgroup updated subscribers of T369659: Next and previous icons in MultimediaViewer are flipped in RTL interface.

Hi @TheDJ, it seems Idbc2a309fbca15 broke RTL

Tue, Jul 9, 7:45 PM · MW-1.43-notes (1.43.0-wmf.14; 2024-07-16), Patch-For-Review, Regression, RTL, I18n, MediaViewer
Ladsgroup closed T369660: Create Confessions wiki as Invalid.

We don't provide free wiki hosting, please see https://www.mediawiki.org/wiki/Hosting_services

Tue, Jul 9, 7:25 PM · Wiki-Setup (Create)
Ladsgroup closed T363573: Maintenance_bot not removing patch-for-review when all conditions are seemingly met as Resolved.

Fixed, the docker container went on zombie mode. New changes should get it fixed. I'll run it to backfill old tickets too.

Tue, Jul 9, 3:48 PM · Phabricator maintenance bot

Mon, Jul 8

Ladsgroup closed T367833: Update grants for mailman as Resolved.

^ dropped the user in production on m5.

Mon, Jul 8, 5:41 PM · DBA, collaboration-services, SRE
Ladsgroup closed T367833: Update grants for mailman, a subtask of T331706: Migrate Mailman/lists to Bullseye/Bookworm, as Resolved.
Mon, Jul 8, 5:41 PM · Patch-For-Review, collaboration-services, Wikimedia-Mailing-lists, SRE
Ladsgroup closed T369024: SpecialUncategorizedPages slow query as Resolved.
Mon, Jul 8, 4:47 PM · Wikimedia-Slow-DB-Query, MediaWiki-Special-pages
Ladsgroup added a comment to T360310: Post-creation work for bewwiki.

you could probably make a MR to phabbot https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot/-/blob/master/new_wikis_handler.py?ref_type=heads

Mon, Jul 8, 3:04 PM · Countervandalism-Network, Content-Transform-Team, Wiki-Setup
Ladsgroup closed T357866: Create Wikipedia Betawi as Resolved.

This is intentional and a process change since last year, we create wikis with placeholder config to ease the creation process since way more people can change those config post-creation and it simplify the process of creating the wiki a lot. I sent an email about this to langcom last year.

Mon, Jul 8, 2:12 PM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Wiki-Setup (Create)
Ladsgroup added a comment to T357866: Create Wikipedia Betawi.

i.e. please create a separate ticket or mention it in T360310: Post-creation work for bewwiki

Mon, Jul 8, 2:12 PM · MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), Wiki-Setup (Create)
Ladsgroup closed T357866: Create Wikipedia Betawi, a subtask of T360310: Post-creation work for bewwiki, as Resolved.
Mon, Jul 8, 2:12 PM · Countervandalism-Network, Content-Transform-Team, Wiki-Setup
Ladsgroup closed T357866: Create Wikipedia Betawi, a subtask of T360312: Add support for bewwiki to Pywikibot, as Resolved.
Mon, Jul 8, 2:11 PM · Pywikibot

Sat, Jul 6

Ladsgroup added a comment to T367645: The background of some SVG maps is not rendered.

Thank you!

Sat, Jul 6, 8:50 PM · Wikimedia-SVG-rendering

Fri, Jul 5

Ladsgroup added a comment to T366852: Discover and fix under-utilized replicas.
s4 codfwdb2172 - db2206
s8 codfwdb2152
s7 eqiaddb1227
s5 eqiaddb1230
s3 eqiaddb1223
Fri, Jul 5, 5:32 PM · DBA
Ladsgroup added a comment to T366852: Discover and fix under-utilized replicas.

Also, looked at the 10 day rolling average and removed spikes, these show replicas that are behind the pack.

s4_codfw_10d_filtered.png (1×2 px, 465 KB)

Fri, Jul 5, 5:24 PM · DBA
Ladsgroup added a comment to T368151: Add a shared table to CheckUser that records changes to different wikis per IP address of the user.

Hi, I reviewed the original idea long time ago and this still sounds good to me (no changes since my review). Please let me know if you need anything further from me.

Fri, Jul 5, 5:05 PM · Trust and Safety Product Sprint (Sprint Koto (July 15 - July 26)), Patch-For-Review, Schema-change, Temporary accounts (Blockers to pilot wiki deployment), CheckUser, Trust and Safety Product Team
Ladsgroup added a comment to T369308: Decommission clouddb2002-dev.codfw.wmnet.

Confirming what Manuel has said: This is needed as it powers https://labtestwikitech.wikimedia.org, it's quite a snowflake and I would appreciate if it's removed but AFAIK it's used by WMCS for testing of integrations (See T310795: Revive Labtestwikitech (formerly: Abolish labtestwikitech) for more info). If WMCS thinks they don't need that anymore (idm is replacing some functionalities I think), then by all means kill it with fire.

Fri, Jul 5, 2:43 PM · Data-Persistence, cloud-services-team, Cloud-VPS
Ladsgroup added a comment to T344877: SQL function to recover the normal hostname, to install on Wiki Replica instances.

That's a nice trick. Feel free to add this to the existing views.

Fri, Jul 5, 2:23 PM · Data-Services
Ladsgroup added a comment to T352113: Core addWiki.php.

We looked at this and will post an update soon!

Fri, Jul 5, 2:12 PM · MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), MediaWiki-extensions-WikimediaMaintenance
Ladsgroup claimed T365303: Move update of category members count to CategoryMembershipChangeJob.
Fri, Jul 5, 1:13 PM · DBA, Patch-For-Review, MediaWiki-Core-DeferredUpdates
Ladsgroup moved T365303: Move update of category members count to CategoryMembershipChangeJob from Triage to In progress on the DBA board.
Fri, Jul 5, 1:13 PM · DBA, Patch-For-Review, MediaWiki-Core-DeferredUpdates
Ladsgroup updated the task description for T352010: Gradually drop old pagelinks columns.
Fri, Jul 5, 11:13 AM · Schema-change-in-production, DBA, MediaWiki-Page-derived-data

Thu, Jul 4

Ladsgroup updated subscribers of T18491: Support for Chemical Markup Language.

@Physikerwelt Hi! This proposal (T18491#9950713) is really similar to how math extension works. I wonder if you have some insights about this.

Thu, Jul 4, 2:13 PM · MediaWiki-extensions-MolHandler, Commons
Ladsgroup updated the task description for T352010: Gradually drop old pagelinks columns.
Thu, Jul 4, 9:23 AM · Schema-change-in-production, DBA, MediaWiki-Page-derived-data
Ladsgroup added a comment to T368098: Dumps generation without prefetch cause disruption to the production environment.

That single row change would make the current prefetch() code miss most all the revisions from rev_page = 20003, because the code has to walk the prefetched XML all the way to rev_id= 621927320 and it can't walk it back. Changing this behavior would require prefetch() surgery to make it work via rev_timestamp instead, and also we'd have to suffer thru another month or two of no prefetch available. Not fun.

Thu, Jul 4, 8:58 AM · Dumps 2.0, MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Patch-For-Review, Dumps-Generation, SRE
Ladsgroup awarded T369250: db1213 InnoDB errors a Heartbreak token.
Thu, Jul 4, 8:47 AM · DBA
Ladsgroup added a comment to T363682: Incorrect counters on [[Special:LintErrors]].

Done now. Here is the script: P65796

Thu, Jul 4, 8:32 AM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), Content-Transform-Team-WIP, Essential-Work, MediaWiki-extensions-Linter
Ladsgroup created P65796 linter_cleaner.py.
Thu, Jul 4, 8:32 AM

Wed, Jul 3

Ladsgroup added a comment to T366354: Create the a new DB schema to store the worklist data.

I wish we could use linktarget ids instead but given their complexity and the fact that page title won't be repeated much I think it's fine for now. It's good to go.

Wed, Jul 3, 4:51 PM · MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), DBA, Campaign-Tools (Campaign-Tools-Current-Sprint), Event-Discovery
Ladsgroup added a comment to T363682: Incorrect counters on [[Special:LintErrors]].

Much better:

+-------------------------------------------------+------------+------------+----------+
| linter_template                                 | linter_cat | linter_tag | count(*) |
+-------------------------------------------------+------------+------------+----------+
| Template:Self                                   |         22 |            | 13969317 |
| Template:Information                            |         23 |            |  7926719 |
| Template:Artwork                                |         22 |            |  7273742 |
| Template:Welcome                                |         23 |            |  6723401 |
| Template:Information                            |         22 |            |  6136551 |
| Template:Artwork                                |         23 |            |  5845934 |
| Template:FlickreviewR                           |         23 |            |  5356323 |
| Template:Wikidata_Infobox                       |         22 |            |  5044754 |
| Template:Book                                   |         22 |            |  4731527 |
| Template:Geograph_from_structured_data          |         22 |            |  4476655 |
| Template:NASA-image                             |         22 |            |  4225716 |
| User:FlickreviewR/reviewed-pass                 |         23 |            |  3896330 |
| Template:FlickreviewR                           |         22 |            |  2787045 |
| Template:Book                                   |         23 |            |  2506893 |
| Template:Wikidata_Infobox                       |         23 |            |  2480577 |
| Template:PD-scan                                |         22 |            |  2028593 |
| Template:Autotranslate                          |         22 |            |  2025964 |
| Template:Photograph                             |         22 |            |  1983395 |
| Template:PD-USGov-NASA                          |         23 |            |  1918599 |
| Template:Geograph                               |         22 |            |  1862598 |
| Template:NASA-image                             |         23 |            |  1854221 |
| Template:PD-scan                                |         23 |            |  1675291 |
Wed, Jul 3, 2:04 PM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), Content-Transform-Team-WIP, Essential-Work, MediaWiki-extensions-Linter
Ladsgroup added a comment to T368136: [wikireplicas] Make sure there is no sensitive data in clouddb hosts.

Can we somehow remove the data that is currently filtered at the view layer, and instead blank out this data at the sanitarium level?

Wed, Jul 3, 1:07 PM · SRE, Data-Services, cloud-services-team
Ladsgroup added a comment to T344877: SQL function to recover the normal hostname, to install on Wiki Replica instances.

To emphasize. It's be nice to have that function in quarry/superset itself and deal with it in those services but not on mariadb level.

Wed, Jul 3, 1:04 PM · Data-Services
Ladsgroup added a comment to T344877: SQL function to recover the normal hostname, to install on Wiki Replica instances.

I don't know if MariaDB could allow a function being defined but not used in WHERE (and only in SELECT for example). Not to mention that someone could do something like this:

SELECT CONCAT(domain_index_to_domain(el_to_domain_index), el_to_path) as url from externallinks WHERE url = 'google.com/'

And we are back to the pathological mode.

Wed, Jul 3, 1:00 PM · Data-Services
Ladsgroup added a comment to T369024: SpecialUncategorizedPages slow query.

That's part of updating query page entries and by design it's slow (it'll fill a cache). The proper fix is to move it to hadoop T309738: Move Mediawiki QueryPages computation to Hadoop (which I've been slowly working on it) but in the mean time, we can reduce its frequency.

Wed, Jul 3, 12:56 PM · Wikimedia-Slow-DB-Query, MediaWiki-Special-pages