Re: [ceph-users] Question about ceph exclusive object?

2015-02-13 Thread Kim Vandry
On 2015-02-13 17:54, Dennis Chen wrote: Hello, What exactly does the parameter 'bool exclusive' mean in the int librados::IoCtxImpl::create(const object_t& oid, bool exclusive)? I can't find any doc to describe this :-( From documentation in librados.h: it should be set to either either LIBR

Re: [ceph-users] Appending to a rados object with feedback

2015-01-27 Thread Kim Vandry
On 2015-01-27 17:06, Kim Vandry wrote: Unfortunately, I can't find how to assert the version when submitting an op. I'm looking at src/include/rados/librados.h in git. Maybe you or someone else can help me find it once you have the API docs at hand. Ah, never mind, I see that assert_

Re: [ceph-users] Appending to a rados object with feedback

2015-01-27 Thread Kim Vandry
Hi Greg, Thanks for your feedback. On 2015-01-27 15:38, Gregory Farnum wrote: On Mon, Jan 26, 2015 at 6:47 PM, Kim Vandry wrote: By the way, I have a question about the class. Following the example in cle_hello.cc method record_hello, our method calls cls_cxx_stat() and yet is declared

[ceph-users] Appending to a rados object with feedback

2015-01-26 Thread Kim Vandry
Hello Ceph users, In our application, we found that we have a use case for appending to a rados object in such a way that the client knows afterwards at what offset the append happened, even while there may be other concurrent clients doing the same thing. At first I thought the client might