Currently, expired machines cannot be renewed and its state is silently removed thus losing all data. A grace period is common in such cases (e.g. in the domain registration world). When a service expires, there is a way to still extend it and restore the original state.
I would add something like grace_period inside the offer. Then when a machine expires, it is shut down by the scheduler, but the machine state is still stored on ROFL node. During that period, machine owner can call topup and it will restore the machine and extend it for the given period.
Future work:
- also introduce
grace_topup_fee that is added on top of the topup amount in order to save the machine from the grace state. This encourages machine owners to always topup their machine in time.
Currently, expired machines cannot be renewed and its state is silently removed thus losing all data. A grace period is common in such cases (e.g. in the domain registration world). When a service expires, there is a way to still extend it and restore the original state.
I would add something like
grace_periodinside the offer. Then when a machine expires, it is shut down by the scheduler, but the machine state is still stored on ROFL node. During that period, machine owner can call topup and it will restore the machine and extend it for the given period.Future work:
grace_topup_feethat is added on top of the topup amount in order to save the machine from the grace state. This encourages machine owners to always topup their machine in time.