Last modified: 2014-02-12 23:32:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45116, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43116 - prevent update.php from updating database schemata of wgSharedTables
prevent update.php from updating database schemata of wgSharedTables
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.20.x
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-14 09:38 UTC by Gregor Hagedorn
Modified: 2014-02-12 23:32 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Gregor Hagedorn 2012-12-14 09:38:34 UTC
Presently when updating a mediawiki that takes part in a wikifarm which partially shared table (interwiki, users, etc.) to a new version, update.php not only updates the tables from the wiki it is run on, but also the database schemata of referenced in wgSharedTables.

We do disable wgSharedTables when testing and reenable it afterwards, but it is a constant source of potential errors. Usually the earlier versions which rely on the earlier schema break, whereas some care has been taken to make later versions run with (at least some) shared tables of earlier versions. For example, this is presently so with users in 1.18, 1.19, 1.20.

I wonder whether it would be relatively simple to exempt the tables listed in wgSharedTables from being affected by update.php. If so this would remove one headache from testing new versions or having a mixed-version deployment (at least for a while).
Comment 1 Alexandre Emsenhuber [IAlex] 2012-12-27 17:39:10 UTC
Gerrit change #43116
Comment 2 Alexandre Emsenhuber [IAlex] 2012-12-27 17:40:01 UTC
Oops, picked up the wrong number...
Gerrit change #40803
Comment 3 Alexandre Emsenhuber [IAlex] 2013-01-03 19:00:00 UTC
Change merged.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links