Automatic multi-environment collection handling

Menno Smits menno.smits at canonical.com
Thu Dec 18 20:40:56 UTC 2014


On 19 December 2014 at 06:02, Dimiter Naydenov <
dimiter.naydenov at canonical.com> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> All this is great work! Thanks for the write-up as well.
>
> I think I discovered an issue with it - take a look at this bug
> http://pad.lv/1403738. It seems machine.SetAgentVersion() should be
> handled specially by the multi-env transaction runner, as only after
> calling it the upgrade actually starts and the steps to add env-uuids
> to state collections are executed.


Sorry - I neglected to do a manual upgrade test before pushing this change.
Ensuring that code that runs before database migrations have occurred still
works as it should has been pain point for us while doing the
multi-environment work.

I will get this sorted. Thanks for saving me some time by doing the initial
analysis.

- Menno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20141219/aba11dd2/attachment.html>


More information about the Juju-dev mailing list