[Sheepdog] panic in get_nth_node

Liu Yuan namei.unix at gmail.com
Wed Feb 29 11:16:03 CET 2012


On 02/29/2012 04:30 PM, huxinwei wrote:

> Hi list:
> 
>   In my environment (2 sheep only), sheep always panic while recovering from a left node returning.
> 
> It turns out to be a intend behavior in get_nth_node:
> 
> =========================================
>         if (idx == base) {
>                 panic("bug"); /* not found */
> =========================================
> 
>   While I agree this is the correct in most scenarios, it does seem to be too intrusive while recovering in my trivial test.
> To be specific, find_tgt_node calls get_nth_node
> 
>   I don't have a lot of faith in my own workaround either. Let me know what you think ;)
> 
>   Thanks.


How to reproduce this issue in your case?

Thanks,
Yuan



More information about the sheepdog mailing list