Re: Read from Replica Osds?

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

 



Reads will always happen on the Primary OSD for the PG.  Writes are initially written to the primary OSD, but the write is not ack'd until the write is completed on ALL secondaries.  I make that distinction because if you have size 3 and min_size 2, the write will not come back unless all 3 OSDs have written the data.  The min_size is there for security so that writes do not happen in your cluster if you do not have at least min_size OSDs active in your PG.  It is not a setting to dictate how many copies need to be written before a write is successful.

On Mon, May 8, 2017 at 12:04 PM Mehmet <ceph@xxxxxxxxxx> wrote:
Hi,

I thought that Clients do also reads from ceph replicas. Sometimes i Read in the web that this does only happens from the primary pg like how ceph handle writes... so what is True?

Greetz
Mehmet_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
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