Re: [SOLVED] Replicated pool with an even size - has min_size to be bigger than half the size?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 29.03.2018 13:50, Peter Linder wrote:
> Den 2018-03-29 kl. 12:29, skrev David Rabel:
>> On 29.03.2018 12:25, Janne Johansson wrote:
>>> 2018-03-29 11:50 GMT+02:00 David Rabel <rabel@xxxxxxxxxxxxx>:
>>>> You are right. But with my above example: If I have min_size 2 and size
>>>> 4, and because of a network issue the 4 OSDs are split into 2 and 2, is
>>>> it possible that I have write operations on both sides and therefore
>>>> have inconsistent data?
>>>>
>>> You always write to the primary, which in turn sends copies to the 3
>>> others,
>>> so in the 2+2 split case, only one side can talk to the primary OSD for
>>> that pg,
>>> so writes will just happen on one side at most.
> I'm not sure that this is true, will not the side that doesn't have the
> primary simply elect a new one when min_size=2 and there are 2 of
> [failure domain] available? This is assuming that there are enough mon's
> also.
> 
> Even if this is the case, only half of the PGs would be available and
> operations will stop.

Why is this? If min_size is 2 and 2 PGs are available, operations should
not stop. Or am I wrong here?

David


-- 
David Rabel
Linux Consultant & Trainer
Tel.: +49-1511-5908566
Mail: rabel@xxxxxxxxxxxxx

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux