[sheepdog-users] Impossible to run vdi check with 1 node

MORITA Kazutaka morita.kazutaka at gmail.com
Thu Jan 24 11:22:31 CET 2013


At Wed, 23 Jan 2013 10:40:11 +0800,
Liu Yuan wrote:
> 
> On 01/22/2013 07:53 PM, Valerio Pachera wrote:
> > Hi, I tried
> >   collie cluster format -m unsafe -c 2
> > 
> > I leave one node alive
> >   collie node kill 0
> > 
> > An check my vdi
> >   collie vdi check squeeze
> >   Jan 22 12:50:19 [main] get_vnode_next_idx(108) PANIC: can't find next new idx
> > 
> > If I re-join the second node, vdi check works fine.
> 
> The purpose of 'vdi check' is to check if all the replica of objects are
> consistent. If you don't have all the replica (such as that number of
> nodes is less than 'copies'), then check will panic.

Panic is not appropriate here.  We should exit with an user friendly
message.

Thanks,

Kazutaka



More information about the sheepdog-users mailing list