2.1 -> 2.2 upgrade script won't finish
Bug #1015807 reported by
Justin Hopkins
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Evergreen 2.2.0, running the script on a 2.1.1 database
Postgres 9.1.3
The script wasn't running properly for various reasons I don't fully understand. I was able to get it happy again and have committed:
http://
There was an incorrect reference to 2.2beta 1 at the start of the script and in order to update authority.thesaurus I put it in a separate transaction.
I also had an issue with update to container.
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Justin,
Thanks for spotting the error with the version numbers. Those should actually have said '2.2.0'. My bad.
Upgrade scripts can't really avoid changes that you may have already added as a local fix (0652 and presumably 0717 in your case, the latter having been published with bug #1010492 and not being in any release before 2.2.0). Unfortunately it's always been incumbent upon Evergreen site administrators to avoid clashes with things they've already picked from the master branch in advance of a formal upgrade. Until we develop a smarter mechanism or plan for dealing with all the likely scenarios, we don't want to write special cases for everything. Some upgrades can be improved with 'if exists' clauses or similar, but others do more subtle things, so that detecting repeat applications would be nontrivial.
Pushed the version number change to master and rel_2_2. Thanks again!