Hello Noah,  

In may case the ordering is importante and I seen that librados have an lock 
implementation which I’ll use that on my implementation. Thanks for your help.  

Regards.

Italo Santos
http://italosantos.com.br/


On Tuesday, February 24, 2015 at 12:52, Noah Watkins wrote:

> I'll take a shot at answering this:
>  
> Operations are atomic in the sense that there are no partial failures. 
> Additionally, access to an object should appear to be serialized. So, two 
> in-flight operations A and B will be applied in either A,B or B,A order. If 
> ordering is important (e.g. the operations are dependent) then the 
> application should enforce ordering.
>  
> ----- Original Message -----
> From: "Italo Santos" <okd...@gmail.com (mailto:okd...@gmail.com)>
> To: ceph-users@lists.ceph.com (mailto:ceph-users@lists.ceph.com)
> Sent: Monday, February 23, 2015 12:01:15 PM
> Subject: [ceph-users] librados - Atomic Write
>  
> Hello,  
>  
> The librados write ops are atomic? I mean what happens if two different 
> clients try to write the same object with the same content?  
>  
> Regards.  
>  
> Italo Santos  
> http://italosantos.com.br/  
>  
>  
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com (mailto:ceph-users@lists.ceph.com)
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>  
>  


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

Reply via email to