[sheepdog] [sheepdog-users] [PATCH 1/3] collie: add delay_recovery {start|stop} command

Yunkai Zhang yunkai.me at gmail.com
Mon Jul 30 10:45:45 CEST 2012


On Mon, Jul 30, 2012 at 4:37 PM, Dietmar Maurer <dietmar at proxmox.com> wrote:
>> > BTW, there seem to be some setting which can be changed after cluster
>> > format, for example 'mode', or this new 'recovery_mode' setting. So
>> > maybe the following is useful:
>> >
>> > # collie config set --recovery auto
>> > # collie config set --recovery manual
>> > # collie config set --mode [mode]
>>
>> This state will be kept in inner structure(cluster_info), we needn't to change
>> config code.
>
> So when I stop all node that information is lost?

Do you mean: shutdown whole cluster before manual recovery finished?

If user start manual recovery, and add some new nodes info cluster,
and then shutdown the cluster directly, I think the cluster should
kept the original status, just like not adding any new nodes into
cluster.

>



-- 
Yunkai Zhang
Work at Taobao



More information about the sheepdog mailing list