Page MenuHomePhabricator

aaron (Aaron Schulz)
User

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Wednesday

  • Clear sailing ahead.

User Details

User Since
Oct 20 2014, 5:25 PM (533 w, 6 d)
Availability
Available
IRC Nick
AaronSchulz
LDAP User
Aaron Schulz
MediaWiki User
Aaron Schulz [ Global Accounts ]

Recent Activity

Thu, Jan 9

aaron renamed T382699: Page Deletion Fatal exception of type "Wikimedia\Rdbms\DBQueryError" due to lock timeout from Page Deletion Fatal exception of type "Wikimedia\Rdbms\DBQueryError" to Page Deletion Fatal exception of type "Wikimedia\Rdbms\DBQueryError" due to lock timeout.
Thu, Jan 9, 4:23 PM · MW-Interfaces-Team, MediaWiki-Engineering, MediaWiki-Page-deletion, MediaWiki-File-management, Commons, Wikimedia-production-error

Wed, Jan 8

aaron awarded T28741: Migrate file tables to a modern layout (image/oldimage; file/filerevision; add primary keys) a Unicorn! token.
Wed, Jan 8, 6:48 PM · MediaWiki-Platform-Team (Radar), Data-Engineering, Data-Persistence, Patch-Needs-Improvement, Commons, Multimedia, Schema-change, MediaWiki-File-management

Wed, Dec 18

aaron updated the task description for T379809: Make JobRunner/DeferredUpdates implicit transaction rounds behavior consistent in CLI mode.
Wed, Dec 18, 4:59 PM · Patch-For-Review, OKR-Work, MW-Interfaces-Team, MediaWiki-Core-JobQueue, MediaWiki-libs-Rdbms

Mon, Dec 16

aaron closed T381908: Using SelectQueryBuilder::addJoin() with a string table reference and a null alias, combined with forUpdate(), fails in Postgres as Resolved.

Fixed in https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1101977

Mon, Dec 16, 5:36 PM · MW-Interfaces-Team, MediaWiki-libs-Rdbms

Dec 10 2024

aaron renamed T381908: Using SelectQueryBuilder::addJoin() with a string table reference and a null alias, combined with forUpdate(), fails in Postgres from Using SelectQueryBuilder::addJoin() with a string table identifier and a null alias, combined with forUpdate(), fails in Postgres to Using SelectQueryBuilder::addJoin() with a string table reference and a null alias, combined with forUpdate(), fails in Postgres.
Dec 10 2024, 6:37 PM · MW-Interfaces-Team, MediaWiki-libs-Rdbms
aaron updated the task description for T381908: Using SelectQueryBuilder::addJoin() with a string table reference and a null alias, combined with forUpdate(), fails in Postgres.
Dec 10 2024, 6:33 PM · MW-Interfaces-Team, MediaWiki-libs-Rdbms
aaron claimed T381908: Using SelectQueryBuilder::addJoin() with a string table reference and a null alias, combined with forUpdate(), fails in Postgres.
Dec 10 2024, 6:27 PM · MW-Interfaces-Team, MediaWiki-libs-Rdbms
aaron created T381908: Using SelectQueryBuilder::addJoin() with a string table reference and a null alias, combined with forUpdate(), fails in Postgres.
Dec 10 2024, 6:27 PM · MW-Interfaces-Team, MediaWiki-libs-Rdbms
aaron reopened T75289: PrefixSearchTest::testSearch fails on PostgreSQL, a subtask of T2384: [REPLACED BY TAG] PostgreSQL/pgsql support (tracking), as Open.
Dec 10 2024, 2:23 AM · PostgreSQL, Tracking-Neverending, MediaWiki-libs-Rdbms
aaron reopened T75289: PrefixSearchTest::testSearch fails on PostgreSQL, a subtask of T32323: PrefixSearch: Add support for multiple namespaces, as Open.
Dec 10 2024, 2:23 AM · MW-1.28-release (WMF-deploy-2016-09-20_(1.28.0-wmf.20)), MW-1.28-release-notes, Discovery-Search, Discovery-ARCHIVED, MediaWiki-Search
aaron reopened T75289: PrefixSearchTest::testSearch fails on PostgreSQL as "Open".

I still have this probably locally and have for years. There is probably some bad assumption that some postgres sort/collation default will have a certain value.

Dec 10 2024, 2:23 AM · PostgreSQL, MediaWiki-Core-Tests, MediaWiki-Search
aaron updated the task description for T75289: PrefixSearchTest::testSearch fails on PostgreSQL.
Dec 10 2024, 2:21 AM · PostgreSQL, MediaWiki-Core-Tests, MediaWiki-Search
aaron created T381842: SpecialContributions and SpecialDeletedContributions tests fail if $wgDefaultSkin is 'vector'.
Dec 10 2024, 2:00 AM · MW-1.44-notes (1.44.0-wmf.8; 2024-12-17), Trust and Safety Product Sprint (Sprint Chimes (Dec. 9 - Jan. 17)), Trust and Safety Product Team, MediaWiki-Core-Tests

Dec 6 2024

aaron updated the task description for T376076: Simplify transaction round handling by making $wgLBFactoryConf server 'flags' DBO_TRX config irrelevant.
Dec 6 2024, 4:32 AM · MediaWiki-libs-Rdbms

Dec 5 2024

aaron renamed T379809: Make JobRunner/DeferredUpdates implicit transaction rounds behavior consistent in CLI mode from Make sure JobRunner/DeferredUpdates always uses implicit transaction rounds even in CLI mode to Make JobRunner/DeferredUpdates implicit transaction rounds behavior consistent in CLI mode.
Dec 5 2024, 8:02 AM · Patch-For-Review, OKR-Work, MW-Interfaces-Team, MediaWiki-Core-JobQueue, MediaWiki-libs-Rdbms

Nov 22 2024

aaron closed T378815: PageUpdated Hook Survey, a subtask of T376063: Hypothesis WE5.2.3 (Q2 FY24/25): Introduce a system of events and listeners into MediaWiki core, as Resolved.
Nov 22 2024, 9:53 PM · MediaWiki-DomainEvents, MW-Interfaces-Team (MWI-Roadmap), MW-1.44-notes (1.44.0-wmf.6; 2024-12-03), MediaWiki-Core-Hooks, OKR-Work, FY2024-25 KR 5.2 Simplify feature development
aaron closed T378815: PageUpdated Hook Survey as Resolved.
Nov 22 2024, 9:53 PM · MediaWiki-DomainEvents, MW-Interfaces-Team, OKR-Work, FY2024-25 KR 5.2 Simplify feature development

Nov 21 2024

aaron updated the task description for T378815: PageUpdated Hook Survey.
Nov 21 2024, 4:56 PM · MediaWiki-DomainEvents, MW-Interfaces-Team, OKR-Work, FY2024-25 KR 5.2 Simplify feature development
aaron moved T371150: Finalize and create api_feature_usage table on x1 from Incoming (Needs Triage) to Backlog (Triaged and Ready) on the MW-Interfaces-Team board.
Nov 21 2024, 4:43 PM · Schema-change, MW-Interfaces-Team, DBA, ApiFeatureUsage

Nov 14 2024

aaron updated the task description for T379939: Make sure all applicable DomainEvents are consistently bound to a transaction round.
Nov 14 2024, 5:42 PM · MW-Interfaces-Team (MWI-Roadmap), MediaWiki-libs-Rdbms, Epic
aaron updated the task description for T378427: Create and migrate callers to IConnectionProvider::startAtomicSection()/endAtomicSection() methods.
Nov 14 2024, 5:24 PM · Patch-For-Review, MW-Interfaces-Team, MediaWiki-libs-Rdbms
aaron removed a project from T373057: Create and use explicit transaction round wrappers in Maintenance scripts and remove MWLBFactory::applyGlobalState: Essential-Work.
Nov 14 2024, 5:07 PM · MW-1.44-notes (1.44.0-wmf.12; 2025-01-14), MW-1.43-notes (1.43.0-wmf.25; 2024-10-01), MW-Interfaces-Team, MediaWiki-libs-Rdbms
aaron renamed T373057: Create and use explicit transaction round wrappers in Maintenance scripts and remove MWLBFactory::applyGlobalState from Clean up MWLBFactory::applyGlobalState to avoid LoadBalancer::setTransactionListener to Create and use explicit transaction round wrappers in Maintenance scripts and remove MWLBFactory::applyGlobalState.
Nov 14 2024, 5:07 PM · MW-1.44-notes (1.44.0-wmf.12; 2025-01-14), MW-1.43-notes (1.43.0-wmf.25; 2024-10-01), MW-Interfaces-Team, MediaWiki-libs-Rdbms
aaron added a parent task for T373057: Create and use explicit transaction round wrappers in Maintenance scripts and remove MWLBFactory::applyGlobalState: T379939: Make sure all applicable DomainEvents are consistently bound to a transaction round.
Nov 14 2024, 5:03 PM · MW-1.44-notes (1.44.0-wmf.12; 2025-01-14), MW-1.43-notes (1.43.0-wmf.25; 2024-10-01), MW-Interfaces-Team, MediaWiki-libs-Rdbms
aaron added a parent task for T372838: In LoadBalancer::approvePrimaryChanges(), check trxStatus() and improve ping() check: T379939: Make sure all applicable DomainEvents are consistently bound to a transaction round.
Nov 14 2024, 5:03 PM · MW-Interfaces-Team, MediaWiki-libs-Rdbms
aaron added a parent task for T378427: Create and migrate callers to IConnectionProvider::startAtomicSection()/endAtomicSection() methods: T379939: Make sure all applicable DomainEvents are consistently bound to a transaction round.
Nov 14 2024, 5:03 PM · Patch-For-Review, MW-Interfaces-Team, MediaWiki-libs-Rdbms
aaron added a parent task for T379809: Make JobRunner/DeferredUpdates implicit transaction rounds behavior consistent in CLI mode: T379939: Make sure all applicable DomainEvents are consistently bound to a transaction round.
Nov 14 2024, 5:03 PM · Patch-For-Review, OKR-Work, MW-Interfaces-Team, MediaWiki-Core-JobQueue, MediaWiki-libs-Rdbms
aaron added subtasks for T379939: Make sure all applicable DomainEvents are consistently bound to a transaction round: T379809: Make JobRunner/DeferredUpdates implicit transaction rounds behavior consistent in CLI mode, T372838: In LoadBalancer::approvePrimaryChanges(), check trxStatus() and improve ping() check, T378427: Create and migrate callers to IConnectionProvider::startAtomicSection()/endAtomicSection() methods, T373057: Create and use explicit transaction round wrappers in Maintenance scripts and remove MWLBFactory::applyGlobalState.
Nov 14 2024, 5:03 PM · MW-Interfaces-Team (MWI-Roadmap), MediaWiki-libs-Rdbms, Epic
aaron created T379939: Make sure all applicable DomainEvents are consistently bound to a transaction round.
Nov 14 2024, 4:56 PM · MW-Interfaces-Team (MWI-Roadmap), MediaWiki-libs-Rdbms, Epic

Nov 13 2024

aaron created T379809: Make JobRunner/DeferredUpdates implicit transaction rounds behavior consistent in CLI mode.
Nov 13 2024, 7:27 PM · Patch-For-Review, OKR-Work, MW-Interfaces-Team, MediaWiki-Core-JobQueue, MediaWiki-libs-Rdbms

Nov 7 2024

aaron moved T368289: Incredible amount of logs from Wikimedia\Rdbms\LoadBalancer::runPrimaryTransactionIdleCallbacks from In Progress to Backlog (Triaged and Ready) on the MW-Interfaces-Team board.
Nov 7 2024, 4:48 PM · MW-1.42-notes, MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, MediaWiki-libs-Rdbms, Observability-Logging
aaron lowered the priority of T368289: Incredible amount of logs from Wikimedia\Rdbms\LoadBalancer::runPrimaryTransactionIdleCallbacks from High to Medium.
Nov 7 2024, 4:48 PM · MW-1.42-notes, MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, MediaWiki-libs-Rdbms, Observability-Logging
aaron changed the status of T378427: Create and migrate callers to IConnectionProvider::startAtomicSection()/endAtomicSection() methods from Open to In Progress.
Nov 7 2024, 4:47 PM · Patch-For-Review, MW-Interfaces-Team, MediaWiki-libs-Rdbms
aaron moved T372020: Improve AutoCommitUpdate/AtomicSectionUpdate cancel-on-rollback logic from In Progress to Backlog (Triaged and Ready) on the MW-Interfaces-Team board.
Nov 7 2024, 4:47 PM · Patch-For-Review, MW-Interfaces-Team, MediaWiki-Core-DeferredUpdates
aaron claimed T378427: Create and migrate callers to IConnectionProvider::startAtomicSection()/endAtomicSection() methods.
Nov 7 2024, 4:47 PM · Patch-For-Review, MW-Interfaces-Team, MediaWiki-libs-Rdbms
aaron reassigned T378936: Use the PageUpdatedEvent to trigger relevant updates in MediaWiki core from aaron to daniel.
Nov 7 2024, 4:44 PM · MediaWiki-DomainEvents, MW-Interfaces-Team (MWI-Sprint-1 (2025-01-14 to 2025-01-28)), Patch-For-Review, MW-1.44-notes (1.44.0-wmf.5; 2024-11-25)
aaron moved T371150: Finalize and create api_feature_usage table on x1 from Radar (other teams work) to Incoming (Needs Triage) on the MW-Interfaces-Team board.
Nov 7 2024, 4:33 PM · Schema-change, MW-Interfaces-Team, DBA, ApiFeatureUsage

Oct 28 2024

aaron created T378427: Create and migrate callers to IConnectionProvider::startAtomicSection()/endAtomicSection() methods.
Oct 28 2024, 11:51 PM · Patch-For-Review, MW-Interfaces-Team, MediaWiki-libs-Rdbms

Oct 25 2024

aaron created T378161: cleanupImages.php treats storage paths as local file paths.
Oct 25 2024, 2:05 AM · MediaWiki-File-management

Oct 24 2024

aaron moved T366835: REST: API modularization and versioning (tracking) from In Progress to Epics in progress on the MW-Interfaces-Team board.
Oct 24 2024, 3:38 PM · MW-Interfaces-Team (MWI-Roadmap), MediaWiki-REST-API, Epic
aaron moved T366834: REST: OpenAPI specs generation (tracking) from In Progress to Epics in progress on the MW-Interfaces-Team board.
Oct 24 2024, 3:38 PM · MW-Interfaces-Team (MWI-Roadmap), MW-1.43-notes (1.43.0-wmf.19; 2024-08-20), MediaWiki-REST-API, Epic
aaron moved T374135: Migrate RESTbase page content endpoints from In Progress to Epics in progress on the MW-Interfaces-Team board.
Oct 24 2024, 3:37 PM · MW-Interfaces-Team (MWI-Roadmap), Epic, RESTBase Sunsetting
aaron moved T376343: [5.1.7 Milestone]: OpenAPI spec response validation for MediaWiki REST API 'page' endpoints from In Progress to Epics in progress on the MW-Interfaces-Team board.
Oct 24 2024, 3:37 PM · MW-Interfaces-Team (MWI-Roadmap), FY2024-25 KR 5.1 MediaWiki Automated API Documentation, Epic, OKR-Work, MediaWiki-REST-API
aaron moved T366833: REST: Request Body Validation (tracking) from In Progress to Epics in progress on the MW-Interfaces-Team board.
Oct 24 2024, 3:37 PM · MW-Interfaces-Team (MWI-Roadmap), MediaWiki-REST-API, Epic
aaron moved T376493: Hypothesis 5.1.8 (FY24-25 Q2): Enable internationalisation on generated OpenAPI specifications for MediaWiki REST API from In Progress to Epics in progress on the MW-Interfaces-Team board.
Oct 24 2024, 3:36 PM · MW-Interfaces-Team (MWI-Roadmap), MW-1.44-notes (1.44.0-wmf.6; 2024-12-03), MW-1.43-notes (1.43.0-wmf.28; 2024-10-22), OKR-Work, FY2024-25 KR 5.1 MediaWiki Automated API Documentation
aaron moved T376063: Hypothesis WE5.2.3 (Q2 FY24/25): Introduce a system of events and listeners into MediaWiki core from In Progress to Epics in progress on the MW-Interfaces-Team board.
Oct 24 2024, 3:36 PM · MediaWiki-DomainEvents, MW-Interfaces-Team (MWI-Roadmap), MW-1.44-notes (1.44.0-wmf.6; 2024-12-03), MediaWiki-Core-Hooks, OKR-Work, FY2024-25 KR 5.2 Simplify feature development
aaron moved T375511: Hypothesis 5.1.7 (FY24-25 Q2): Define and Validate Response Bodies in Generated OpenAPI Specs from In Progress to Epics in progress on the MW-Interfaces-Team board.
Oct 24 2024, 3:36 PM · MW-Interfaces-Team (MWI-Roadmap), FY2024-25 KR 5.1 MediaWiki Automated API Documentation, OKR-Work, MediaWiki-REST-API

Oct 22 2024

aaron added a comment to T371150: Finalize and create api_feature_usage table on x1.

One question is whether I should just add an autoincrement ID. It would make the DELETE queries for expiration simpler. Originally, I wanted to keep the schema support both regular and circular replication. Given the operational fun involved with the later, we could probably just bake in the non-circular replication assumption in exchange for simple IN() clause deletion instead of using factorConds().

Oct 22 2024, 5:03 PM · Schema-change, MW-Interfaces-Team, DBA, ApiFeatureUsage
aaron closed T315664: Consider adding flushReplicaSnapshots() to commitAndWaitForReplication() as Resolved.
Oct 22 2024, 5:01 PM · MW-1.44-notes (1.44.0-wmf.1; 2024-10-29), MediaWiki-Core-DeferredUpdates, Patch-For-Review, Developer Productivity, MediaWiki-libs-Rdbms
aaron awarded T50217: Speed up MediaWiki PHPUnit build by running integration tests in parallel a Yellow Medal token.
Oct 22 2024, 3:58 PM · MediaWiki-Platform-Team, User-Daimona, Patch-For-Review, Developer Productivity, MediaWiki-Core-Tests
aaron renamed T377800: Deprecate Maintenance::setDB()/Maintenance::getDB() and avoid Maintenance::setDBProvider() from Deprecate Maintenance::setDB() and Maintenance::getDB() to Deprecate Maintenance::setDB()/Maintenance::getDB() and avoid Maintenance::setDBProvider().
Oct 22 2024, 4:16 AM · MW-1.44-notes (1.44.0-wmf.2; 2024-11-05), MediaWiki-Maintenance-system, MediaWiki-libs-Rdbms
aaron created T377800: Deprecate Maintenance::setDB()/Maintenance::getDB() and avoid Maintenance::setDBProvider().
Oct 22 2024, 4:10 AM · MW-1.44-notes (1.44.0-wmf.2; 2024-11-05), MediaWiki-Maintenance-system, MediaWiki-libs-Rdbms

Oct 10 2024

aaron renamed T376076: Simplify transaction round handling by making $wgLBFactoryConf server 'flags' DBO_TRX config irrelevant from Simplify transaction round handling by making $wgLBFactoryConf server 'flags' config irrelevant to Simplify transaction round handling by making $wgLBFactoryConf server 'flags' DBO_TRX config irrelevant.
Oct 10 2024, 5:35 PM · MediaWiki-libs-Rdbms

Oct 9 2024

aaron closed T366640: QueryBuilderFromRawSql::generalizeSQL: PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated as Resolved.
Oct 9 2024, 3:32 PM · MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), MW-Interfaces-Team, affects-translatewiki.net, MediaWiki-libs-Rdbms, PHP 8.1 support

Oct 7 2024

aaron added a comment to T368289: Incredible amount of logs from Wikimedia\Rdbms\LoadBalancer::runPrimaryTransactionIdleCallbacks.

That seems reasonable. @aaron -- any concerns with closing for now?

Oct 7 2024, 8:15 PM · MW-1.42-notes, MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, MediaWiki-libs-Rdbms, Observability-Logging

Oct 1 2024

aaron added a comment to T366640: QueryBuilderFromRawSql::generalizeSQL: PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated.

@aaron -- please confirm this was fixed by related patch: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1075067 (and update if it doesn't :) )

Oct 1 2024, 5:38 PM · MW-1.43-notes (1.43.0-wmf.26; 2024-10-08), MW-Interfaces-Team, affects-translatewiki.net, MediaWiki-libs-Rdbms, PHP 8.1 support
aaron closed T374534: Lots of "Expectation (masterConns <= 0) by ApiMain::setRequestExpectations not met" involving external store (2024-09-05) as Resolved.

Closing, since the log spam is gone. The remaining patch falls under the "possible general improvements" category.

Oct 1 2024, 4:36 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.22; 2024-09-10), MW-Interfaces-Team, Wikimedia-production-error, MediaWiki-libs-Rdbms, MediaWiki-Core-Revision-backend
aaron added a comment to T366857: InvalidArgumentException from line 80 of ServerInfo.php: No server with index '0' (in a maintenance script).

I haven't seen this error in logstash lately. I know that an error like this used to occur and was fixed in 65aa3c0a3e3. Presumably, someone changed the load weights in etcd while the script was running. This error shouldn't happen, though the script can be restarted if it does still occur.

Oct 1 2024, 4:21 PM · Wikimedia-production-error, MediaWiki-libs-Rdbms

Sep 30 2024

aaron created T376076: Simplify transaction round handling by making $wgLBFactoryConf server 'flags' DBO_TRX config irrelevant.
Sep 30 2024, 8:10 PM · MediaWiki-libs-Rdbms

Sep 25 2024

aaron updated the task description for T363839: Remove old/unused/internal methods in rdbms library from the public APIs.
Sep 25 2024, 4:21 PM · MW-1.44-notes (1.44.0-wmf.4; 2024-11-19), MW-1.43-notes (1.43.0-wmf.10; 2024-06-18), Patch-For-Review, DBA, MediaWiki-libs-Rdbms

Sep 24 2024

aaron updated the task description for T373057: Create and use explicit transaction round wrappers in Maintenance scripts and remove MWLBFactory::applyGlobalState.
Sep 24 2024, 11:51 PM · MW-1.44-notes (1.44.0-wmf.12; 2025-01-14), MW-1.43-notes (1.43.0-wmf.25; 2024-10-01), MW-Interfaces-Team, MediaWiki-libs-Rdbms
aaron created T375547: Use QUERY_IGNORE_DBO_TRX in DatabaseMysql::tableExists()/listTables().
Sep 24 2024, 6:27 PM · MediaWiki-libs-Rdbms

Sep 23 2024

aaron added a comment to T315664: Consider adding flushReplicaSnapshots() to commitAndWaitForReplication().

Actually, what if we completely deprecate and remove this method and also flushPrimarySnapshots together and move the code simply to commitAndWaitForReplication if not already there? I don't think they would make a big difference in the time to run a job or something like that.

Sep 23 2024, 11:27 PM · MW-1.44-notes (1.44.0-wmf.1; 2024-10-29), MediaWiki-Core-DeferredUpdates, Patch-For-Review, Developer Productivity, MediaWiki-libs-Rdbms

Sep 20 2024

aaron updated the task description for T373057: Create and use explicit transaction round wrappers in Maintenance scripts and remove MWLBFactory::applyGlobalState.
Sep 20 2024, 12:19 AM · MW-1.44-notes (1.44.0-wmf.12; 2025-01-14), MW-1.43-notes (1.43.0-wmf.25; 2024-10-01), MW-Interfaces-Team, MediaWiki-libs-Rdbms
aaron updated the task description for T373057: Create and use explicit transaction round wrappers in Maintenance scripts and remove MWLBFactory::applyGlobalState.
Sep 20 2024, 12:16 AM · MW-1.44-notes (1.44.0-wmf.12; 2025-01-14), MW-1.43-notes (1.43.0-wmf.25; 2024-10-01), MW-Interfaces-Team, MediaWiki-libs-Rdbms

Sep 19 2024

aaron added a comment to T374534: Lots of "Expectation (masterConns <= 0) by ApiMain::setRequestExpectations not met" involving external store (2024-09-05).

Actually, it looks like wmfApplyEtcdDBConfig() already hard codes 0 load when using remote servers for the writer index. This explains the low log rate. So the only thing left to do here is just disable the primary fallback logic for the 'is static' case in ExternalStoreDB.

Sep 19 2024, 6:50 AM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.22; 2024-09-10), MW-Interfaces-Team, Wikimedia-production-error, MediaWiki-libs-Rdbms, MediaWiki-Core-Revision-backend

Sep 18 2024

aaron updated the task description for T375125: Add $wgExternalStoreConf to support mapping logical clusters to physical clusters.
Sep 18 2024, 6:58 PM · MediaWiki-libs-Rdbms, MediaWiki-Core-Revision-backend
aaron created T375125: Add $wgExternalStoreConf to support mapping logical clusters to physical clusters.
Sep 18 2024, 6:57 PM · MediaWiki-libs-Rdbms, MediaWiki-Core-Revision-backend

Sep 13 2024

aaron added a comment to T374534: Lots of "Expectation (masterConns <= 0) by ApiMain::setRequestExpectations not met" involving external store (2024-09-05).

Even without the fallback logic, the setup seems odd. Since the es5 cluster config has 100 weight for the writer index, DB_REPLICA servers are likely to result in writer index handles. That fine except that $wmgRemoteMasterDbConfig will be used in codfw to point the writer index to the remote servers. Maybe etcd.php should ignore $crossDCLoads if $lbFactoryConf['templateOverridesByCluster'][$mwLoadName]['is static'] is set.

Sep 13 2024, 10:56 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.22; 2024-09-10), MW-Interfaces-Team, Wikimedia-production-error, MediaWiki-libs-Rdbms, MediaWiki-Core-Revision-backend

Sep 12 2024

aaron added a comment to T374534: Lots of "Expectation (masterConns <= 0) by ApiMain::setRequestExpectations not met" involving external store (2024-09-05).

The logging code should check hasStreamingReplicaServers(), though it will then incidentally ignore cross-DC queries to static clones servers.

Sep 12 2024, 9:57 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.22; 2024-09-10), MW-Interfaces-Team, Wikimedia-production-error, MediaWiki-libs-Rdbms, MediaWiki-Core-Revision-backend
aaron added a comment to T374534: Lots of "Expectation (masterConns <= 0) by ApiMain::setRequestExpectations not met" involving external store (2024-09-05).

Isn't the fallback useless in this case, since there won't be anything on the primary that is not on the replica? Also, why is some non-existing blob being referenced so much? From etcd.php in mediawiki-config, it looks like DB_PRIMARY will still use a server in the primary datacenter, even for 'static' clusters, meaning that it's still a cross-DC query sometimes. This makes it seem like the warning is legitimate.

Sep 12 2024, 4:37 PM · Patch-For-Review, MW-1.43-notes (1.43.0-wmf.22; 2024-09-10), MW-Interfaces-Team, Wikimedia-production-error, MediaWiki-libs-Rdbms, MediaWiki-Core-Revision-backend

Sep 11 2024

aaron created T374576: Mechanism/convention for running jobs and scripts that are not wiki-specific.
Sep 11 2024, 8:52 PM · MediaWiki-Maintenance-system, MediaWiki-Core-JobQueue

Aug 29 2024

aaron added a comment to T359465: Migrate MediaWiki.editstash to statslib.

Looks like ApiEditStash still wasn't done, just PageEditStash.

Aug 29 2024, 3:38 PM · MW-1.43-notes (1.43.0-wmf.22; 2024-09-10), MW-Interfaces-Team, Observability-Metrics

Aug 27 2024

aaron added a comment to T199393: Selenium tests sometimes fail due to deadlock in User::addToDatabase from api.php?action=createaccount.

Let's step back a bit though. Why would someoneone even want to do a SELECT … LOCK IN SHARE MODE query? At face value, it looks like the intention may be to prevent the row from being changed (if it exists) and prevent anyone else from creating it if it doesn't exist. There's a few problems with that.

Aug 27 2024, 9:58 PM · MW-1.44-notes (1.44.0-wmf.2; 2024-11-05), Patch-For-Review, ci-test-error (WMF-deployed Build Failure), User-zeljkofilipin, MediaWiki-Platform-Team, MediaWiki-Core-AuthManager

Aug 21 2024

aaron updated the task description for T373057: Create and use explicit transaction round wrappers in Maintenance scripts and remove MWLBFactory::applyGlobalState.
Aug 21 2024, 8:56 PM · MW-1.44-notes (1.44.0-wmf.12; 2025-01-14), MW-1.43-notes (1.43.0-wmf.25; 2024-10-01), MW-Interfaces-Team, MediaWiki-libs-Rdbms
aaron created T373057: Create and use explicit transaction round wrappers in Maintenance scripts and remove MWLBFactory::applyGlobalState.
Aug 21 2024, 8:52 PM · MW-1.44-notes (1.44.0-wmf.12; 2025-01-14), MW-1.43-notes (1.43.0-wmf.25; 2024-10-01), MW-Interfaces-Team, MediaWiki-libs-Rdbms

Aug 20 2024

aaron awarded T228838: Consider enabling all MW log channels by default for WMF a Unicorn! token.
Aug 20 2024, 8:39 PM · Patch-For-Review, MediaWiki-Platform-Team (Radar), Release-Engineering-Team (Radar), observability, Platform Engineering (Icebox), Developer Productivity, MediaWiki-Debug-Logger
aaron updated the task description for T372936: Make all Action classes set requiresWrite() as needed and deprecate doesWrites().
Aug 20 2024, 8:00 PM · MediaWiki-User-Interface (actions), MW-Interfaces-Team
aaron created T372936: Make all Action classes set requiresWrite() as needed and deprecate doesWrites().
Aug 20 2024, 7:48 PM · MediaWiki-User-Interface (actions), MW-Interfaces-Team
aaron updated the task description for T372910: Make REST Handler router enforce Promise-Non-Write-API-Action header.
Aug 20 2024, 3:52 PM · MediaWiki-REST-API, MW-Interfaces-Team
aaron created T372910: Make REST Handler router enforce Promise-Non-Write-API-Action header.
Aug 20 2024, 3:49 PM · MediaWiki-REST-API, MW-Interfaces-Team

Aug 19 2024

aaron created T372838: In LoadBalancer::approvePrimaryChanges(), check trxStatus() and improve ping() check.
Aug 19 2024, 10:38 PM · MW-Interfaces-Team, MediaWiki-libs-Rdbms

Aug 9 2024

aaron added a comment to T315664: Consider adding flushReplicaSnapshots() to commitAndWaitForReplication().

This might interfere with any use case that involves all of:
a) Batched reads from a DB_REPLICA transaction with a point-in-time view snapshot.
b) An assumption that DB_REPLICA will only get a replica server (e.g. there 1+ replicas and the primary has 0 load balancer weight)
c) Batched writes (involving replication waits). commitAndWaitForReplication() would keep flushing the DB_REPLICA view snapshot.

Aug 9 2024, 9:50 PM · MW-1.44-notes (1.44.0-wmf.1; 2024-10-29), MediaWiki-Core-DeferredUpdates, Patch-For-Review, Developer Productivity, MediaWiki-libs-Rdbms
aaron added a comment to T283766: Refactor SpecialPage execution checks to use Authority.

So here's what I'm thinking:

  • Make the $restriction parameter to SpecialPage::__construct() accept an array
  • Introduce isEnabledByConfig(). Let the subclass return a message somehow if it is disabled.
  • A generic overridable method, with a suggestive name, to attract the random chunks of authorization-like controller logic.
  • A new overridable method to replace subclass execute() functions. Empty by default and aspirationally tending towards being abstract.
  • SpecialPage::execute() would aspirationally tend towards being final rather than being abstract and would call all these new overridable methods.
Aug 9 2024, 9:25 PM · Patch-Needs-Improvement, MediaWiki-Special-pages, Platform Team Workboards (MW Expedition)
aaron created T372169: Refactor NameTableStore to avoid complex onAtomicSectionCancel() callback.
Aug 9 2024, 6:59 PM · DBA, MW-1.43-notes (1.43.0-wmf.22; 2024-09-10), MW-Interfaces-Team, MediaWiki-libs-Rdbms

Aug 7 2024

aaron created T372020: Improve AutoCommitUpdate/AtomicSectionUpdate cancel-on-rollback logic.
Aug 7 2024, 10:36 PM · Patch-For-Review, MW-Interfaces-Team, MediaWiki-Core-DeferredUpdates

Jul 29 2024

aaron closed T276975: Deprecate and remove $wgAPIRequestLog as Resolved.
Jul 29 2024, 11:42 PM · MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), MW-Interfaces-Team, Technical-Debt (Deprecation process), MediaWiki-Action-API
aaron updated the task description for T371150: Finalize and create api_feature_usage table on x1.
Jul 29 2024, 7:02 PM · Schema-change, MW-Interfaces-Team, DBA, ApiFeatureUsage

Jul 26 2024

aaron created T371150: Finalize and create api_feature_usage table on x1.
Jul 26 2024, 9:30 PM · Schema-change, MW-Interfaces-Team, DBA, ApiFeatureUsage

Jul 25 2024

aaron updated the task description for T313731: Long term plan for reducing maintenance workload on the Search Platform team of supporting ApiFeatureUsage.
Jul 25 2024, 4:38 PM · MW-1.43-notes (1.43.0-wmf.25; 2024-10-01), MW-Interfaces-Team, ApiFeatureUsage, Platform Engineering, Discovery-Search
aaron triaged T368380: FlaggedRevs: moved page gets unreviewed as Medium priority.
Jul 25 2024, 3:36 PM · MW-1.44-notes (1.44.0-wmf.4; 2024-11-19), MW-Interfaces-Team, MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), Regression, FlaggedRevs
aaron added a project to T368380: FlaggedRevs: moved page gets unreviewed: MW-Interfaces-Team.
Jul 25 2024, 3:36 PM · MW-1.44-notes (1.44.0-wmf.4; 2024-11-19), MW-Interfaces-Team, MW-1.43-notes (1.43.0-wmf.13; 2024-07-09), Regression, FlaggedRevs
aaron added a project to T366455: WANCache:commonswiki:pagetranslation:sourcepages key is generating a lot of traffic: MW-Interfaces-Team.
Jul 25 2024, 3:22 PM · LPL Essential (LPL Essential 2024 Jul-Oct), MW-Interfaces-Team, MediaWiki-extensions-Translate

Jul 24 2024

aaron closed T369763: Reading Lists: create REST module, a subtask of T336693: Re-implement reading lists REST interface outside RESTbase, as Resolved.
Jul 24 2024, 3:16 PM · MW-Interfaces-Team (MWI-Roadmap), Epic, API Platform, Reading List Service, MediaWiki-extensions-ReadingLists, RESTBase Sunsetting
aaron closed T369763: Reading Lists: create REST module as Resolved.
Jul 24 2024, 3:15 PM · MW-1.43-notes (1.43.0-wmf.15; 2024-07-23), MediaWiki-extensions-ReadingLists, MW-Interfaces-Team

Jul 18 2024

aaron changed the status of T369763: Reading Lists: create REST module from Open to In Progress.
Jul 18 2024, 3:12 PM · MW-1.43-notes (1.43.0-wmf.15; 2024-07-23), MediaWiki-extensions-ReadingLists, MW-Interfaces-Team
aaron changed the status of T369763: Reading Lists: create REST module, a subtask of T336693: Re-implement reading lists REST interface outside RESTbase, from Open to In Progress.
Jul 18 2024, 3:11 PM · MW-Interfaces-Team (MWI-Roadmap), Epic, API Platform, Reading List Service, MediaWiki-extensions-ReadingLists, RESTBase Sunsetting
aaron claimed T369763: Reading Lists: create REST module.
Jul 18 2024, 3:08 PM · MW-1.43-notes (1.43.0-wmf.15; 2024-07-23), MediaWiki-extensions-ReadingLists, MW-Interfaces-Team

Jun 24 2024

aaron changed the status of T368289: Incredible amount of logs from Wikimedia\Rdbms\LoadBalancer::runPrimaryTransactionIdleCallbacks from Open to In Progress.
Jun 24 2024, 5:56 PM · MW-1.42-notes, MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Patch-For-Review, MW-Interfaces-Team, MediaWiki-libs-Rdbms, Observability-Logging
aaron changed the status of T368289: Incredible amount of logs from Wikimedia\Rdbms\LoadBalancer::runPrimaryTransactionIdleCallbacks, a subtask of T368098: Dumps generation cause disruption to the production environment, from Open to In Progress.
Jun 24 2024, 5:55 PM · Dumps 2.0, MW-1.43-notes (1.43.0-wmf.11; 2024-06-25), Dumps-Generation, SRE
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy