This is expected behavior - "put" uses write_full which is an object
overwrite command.
On Thu, Mar 12, 2015 at 4:17 PM Kapil Sharma <ksha...@suse.com> wrote:

> Hi Cephers,
>
> Has anyone tested the behavior of rados by adding an object to the
> cluster with an object name which already exists in the cluster ?
> with command - "rados put -p testpool myobject testfile"
>
> I notice that even if I already have an object called 'myobject' in
> testpool,
> I can still add a new object with same name and it overwrites my previous
> object without any error message.
>
> With RBD this is not an issue. I do see a proper error message when
> I try to add an RBD with name which already exists -
> rbd: create error: (17) File exists2015-03-13 00:16:09.800355 7fe2c4c47780
> -1 librbd: rbd image foo already exists
>
>
>
> Regards,
> Kapil.
>
> _______________________________________________
> ceph-users mailing list
> 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