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

Yunkai Zhang yunkai.me at gmail.com
Mon Jul 30 08:26:40 CEST 2012

On Mon, Jul 30, 2012 at 2:08 PM, MORITA Kazutaka
<morita.kazutaka at lab.ntt.co.jp> wrote:
> CCed to sheepdog-users to gather more opinions.
> At Mon, 30 Jul 2012 13:05:41 +0800,
> Yunkai Zhang wrote:
>> I also considered 'collie cluster delay_recovery {start|stop|info}',
>> but it seems too long for typing, do you like it?
> I think this patchset doesn't delay object recovery but just turn
> on/off the automatic recovery.

Ok, agreed.

> Just an idea, but how about the following?
>  $ collie cluster recover auto   # enable automatic recovery (default)
I think we need not 'recover auto' command, before executed 'recover
stop' and after executed 'recover start', sheep will run into this

>  $ collie cluster recover start  # run recovery once (manual recovery)
>  $ collie cluster recover stop   # turn off automatic recovery and stop recovery process
>  $ collie cluster recover force  # same as the current 'collie cluster recover'

I like these three commands above, I'll convert 'delay_recovery start'
to 'recover stop' and so on in V2.

> Thanks,
> Kazutaka

Yunkai Zhang
Work at Taobao

More information about the sheepdog-users mailing list