Closed
Bug 291438
Opened 20 years ago
Closed 20 years ago
Upgrades from 2.8 to 2.18.1 will have an extra index on the milestones table
Categories
(Bugzilla :: Bugzilla-General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: mkanat, Assigned: mkanat)
Details
When we upgrade from 2.8 to 2.18.1, we temporarily drop the milestones.product_id field and replace it with a field called "milestones.product." However, this field (milestones.product_id) had a multi-column index on itself and milestones.value. So when we drop the field, we now have an index on *just* milestones.value. When we re-create the milestones.product_id index later, it will be re-created, but with a funny name, like product_id_2. This is already fixed for 2.19.3+ in bug 285722. For 2.18, we just need to drop the index at the same time as we're dropping the column.
| Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Bugzilla 2.18
Version: 2.19.2 → 2.18
| Assignee | ||
Comment 1•20 years ago
|
||
Oh, actually, investigating this, I've discovered why we never ran into this before! The bz_drop_table indexes was silently fixing this bug for us, and still is, in 2.18. :-) So it only showed up in bug 285722 when I stopped doing the (now no-longer-necessary, because of bug 290277) bz_drop_table_indexes.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Updated•20 years ago
|
Target Milestone: Bugzilla 2.18 → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•