[DGD] ObjectD recovery
Raymond Jennings
shentino at gmail.com
Wed Mar 29 14:25:50 CEST 2017
Since you're dealing with live runtime state, you only get one chance
to hotboot.
If DGD crashes or terminates, the OS will close all the connections.
This includes cases where you need to terminate DGD in order to load
it with a previous snapshot.
As for a failed upgrade, that is a risk even without hotbooting. Best
practices regarding upgrades in general should also apply
On Fri, Feb 24, 2017 at 1:24 PM, Felix A. Croes <felix at dworkin.nl> wrote:
> Gary <gary at mups.co.uk> wrote:
>
>> Given DGD has a hot reboot option, and that the mud wiztool doesn't need
>> perform a ::dump_state() before ::shutdown(1)
>>
>> Would it be possible to use this to automatically recover from a failed
>> mud upgrade?
>
> object.cpp line 1619..1631:
>
> if (boot && !oplane->dump) {
> error("Hotbooting without snapshot");
> }
>
> Alas no. Hotbooting without snapshot is impossible, since it adds
> extra information to the snapshot -- that is how it preserves that
> data across a reboot.
>
> Regards,
> Felix Croes
> ____________________________________________
> https://mail.dworkin.nl/mailman/listinfo/dgd
More information about the DGD
mailing list