Last modified: 2014-03-14 01:01:00 UTC
Short description: tree_rev_id is a primary key which is already unique, it would cause extra overhead to enforce unique on (tree_rev_descendant_id, tree_rev_id) Which wikis are affected: flowdb on the external(non-wiki) cluster Which tables: flow_tree_revision What is the change to those tables: DROP INDEX /*i*/flow_tree_descendant_id_revisions ON /*_*/flow_tree_revision; CREATE INDEX /*i*/flow_tree_descendant_rev_id ON /*_*/flow_tree_revision ( tree_rev_descendant_id, tree_rev_id ); Links to gerrit changes and/or other related bug reports. https://gerrit.wikimedia.org/r/#/c/116226/