| Addshore created this task. Addshore triaged this task as "Normal" priority. Addshore added projects: Wikidata, MediaWiki-extensions-WikibaseRepository, Wikidata-Campsite (Wikidata-Campsite-Iteration-∞). |
TASK DESCRIPTION
Details of the issue this is trying to solve can be found in T194299
Task details
In T194299#4713654, @hoo wrote:@aaron Suggested to use a separate master DB connection for this (if were in a transaction and don't immediately autocommit), so that it never ends up in the main transaction. That might mean slightly more wasted IDs, but should significantly reduce contention.
In T194299#4714614, @aaron wrote:openConnection is badly named and still reuses connections. You'd probably want getConnection with CONN_TRX_AUTO
Acceptance criteria
- UpsertSqlIdGenerator can generate ids using a seperate master db connection
- SqlIdGenerator can generate ids using a seperate master db connection
- Use of a seperate master db connection is configurable
- The default configuration is false
TASK DETAIL
EMAIL PREFERENCES
To: Addshore
Cc: Aklapper, Ladsgroup, Lucas_Werkmeister_WMDE, Addshore, hoo, aaron, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, D3r1ck01, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
Cc: Aklapper, Ladsgroup, Lucas_Werkmeister_WMDE, Addshore, hoo, aaron, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, D3r1ck01, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
