On Mon, Jul 30, 2012 at 2:08 PM, MORITA Kazutaka
<[email protected]> 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
state.

>  $ 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
-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to