[sheepdog] [PATCH 3/6] sheep: wait for vdi copies to be updated in recovery process

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue Sep 4 08:04:50 CEST 2012


At Tue, 04 Sep 2012 13:55:30 +0800,
Liu Yuan wrote:
> 
> On 09/04/2012 01:50 PM, MORITA Kazutaka wrote:
> >  4. Node C tries to get the number of copies of the vdi object in
> >     screen_object_list(), but it fails because cluster_post_new_vdi(),
> >     which will set vdi copies, is not called yet.
> 
> screen_object_list() will continue to process if get_obj_copy_number()
> fails. so what is the problem? You mentioned vdi object is already on A
> and C, since it is already on C, C doesn't need to recover it.

The objects were on node A and B, and node B went away.  Then node C
needs to recover the object from node A.  But if node C cannot get the
vdi copies, it doesn't include the object oid into the rw->oids in
screen_obj_list(), and the objcet are not going to be recovered on
node C.

Thanks,

Kazutaka



More information about the sheepdog mailing list