[sheepdog-users] n copies > n nodes

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Fri Mar 15 07:56:04 CET 2013


At Fri, 15 Mar 2013 14:48:30 +0800,
Liu Yuan wrote:
> 
> On 03/15/2013 02:40 PM, MORITA Kazutaka wrote:
> > write_object() in create_vdi_obj() should fail in such case, no?
> 
> Nope, get_req_copy_number() will return the 'right' copies to write
> because we support different mode like 'unsafe'.

Then other functions that call write_object() have the same problem.
I wonder if we should change get_req_copy_number() so that it returns
a smaller number only when cluster mode is unsafe.

Thanks,

Kazutaka



More information about the sheepdog-users mailing list