https://bugzilla.wikimedia.org/show_bug.cgi?id=48820

David Mudrák <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from David Mudrák <[email protected]> ---
I am able to reproduce this bug while trying to upgrade from REL1_17 to
REL1_21. This is the code flow I've been able to track down:

* MysqlUpdater::getCoreUpdateList() declares that 'doMigrateUserOptions' should
be executed before adding the field rev_sha1 into the revision table.
* ConvertUserOptions::execute() calls User::saveSettings()
* User::saveSettings() at its very end calls
$this->getUserPage()->invalidateCache() and that is where the revision query is
joining the party.

I am going to try the suggested fix to move the field addition right before the
doMigrateUserOptions step.

-- 
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

Reply via email to