https://bugzilla.wikimedia.org/show_bug.cgi?id=28051
Summary: Abstract DB_MASTER and DB_SLAVE out of core code
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Database
AssignedTo: [email protected]
ReportedBy: [email protected]
The master/slave logic could easily be pushed into db-specific code, as has
been done with db/LoadBalancer. It is an installation-specific concept, and I
believe it should be decoupled from core code.
Most queries can be directed to the correct server based on
Database::isWriteQuery, and in exceptional cases a flag could be provided, to
select from master.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l