Nope this is not very accurate I believe that you got some parts wrong out of our conversation. I am currently on vacation but upon return I'll submit a writeup with some graphic flows explaining how this all works (the recover part I agree with, in any case what is being recovered/restored is the state server so that is what we should be trying to convey with the name)<br><br>On Monday, March 23, 2015, Eric Snow <<a href="mailto:eric.snow@canonical.com">eric.snow@canonical.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">juju 1.23 adds the new restore, all written in Go and integrated into<br>
core. This is a great thing and the result of a lot of effort by<br>
Horacio. In discussions with him about it, there are two things that<br>
came up that I wanted to bring up here.<br>
<br>
First, the name "restore" is misleading. It gives the impression of<br>
capability that it does not actually provide. I propose that we<br>
rename it to "recover" in 1.23 and forward.<br>
<br>
Second, I am now under the impression that after restore is complete,<br>
the environment is left with instances on the provider that juju<br>
should be cleaning up but isn't. In the case of a single state<br>
server, the old state server instance is left dead but still active.<br>
In the case of HA, in addition to the state server that handles the<br>
restore API request, the other state servers are also left in that<br>
same situation.<br>
<br>
So for a 3 server replicaset you are left with 3 instances that juju<br>
is not using but that are still active on the provider side. Users<br>
may not realize they need to manually remove those instances to avoid<br>
further costs (depending on the provider, I suppose). Please explain<br>
if I've misunderstood this or if juju has some other mechanism by<br>
which such instances are cleaned up. If I haven't missed something<br>
then I think we need to fix restore to clean up those state machines.<br>
<br>
-eric<br>
<br>
--<br>
Juju-dev mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'Juju-dev@lists.ubuntu.com')">Juju-dev@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br>
</blockquote>