Last modified: 2014-04-04 00:10:50 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 T65500, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63500 - Flow: broken flow table on beta labs
Flow: broken flow table on beta labs
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.beta.wmflabs.org/...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-03 20:24 UTC by spage
Modified: 2014-04-04 00:10 UTC (History)
6 users (show)

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


Attachments

Description spage 2014-04-03 20:24:54 UTC
Gerrit change #122865 added a maintenance script (db_patches/patch-add_workflow_type.sql) that did too much, dropping the DB column `flow_workflow.workflow_definition_id` prematurely. We fixed the script in Gerrit change #123501 but beta labs somehow ran the buggy version, and now the column is gone causing
  Unknown column 'workflow_definition_id' in 'where clause'

There are three ways to fix this on beta labs:

a) Manually add back the DB column the buggy maintenance script dropped. We've already gone through the steps on our labs instance.
b) Drop all the Flow tables and let maintenance scripts re-add them.
c) Write a smart maintenance script that figures out if the column was dropped and adds it back.

a) or b) is quick but will require beta labs DB access by the Flow team... how?

c) we can do on our own, but it's tricky because as I understand it, we really do want to drop that column, but not until Gerrit change #115576. So the maintenance script has to be smart about whether it applies.
Comment 1 spage 2014-04-04 00:10:50 UTC
Matthias Mullie repaired the beta labs DB, approach (a).

Old content is visible on Talk:Flow, but currently 
http://en.wikipedia.beta.wmflabs.org/wiki/Talk:Flow_QA only shows recent posts; this is probably a caching issue.

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


Navigation
Links