Hello,
For the case of multiple clients(separate process) accessing an object
in the cluster, is the exclusive protection of the shared object
needed for the caller?
Process A::rados::ioctx.write(obj, ...)
Process B::rados::ioctx.write(obj, ...)
or:
Process A::
mylock.lock();
ioctx.write(obj, ..)
mylock.unlock()
Process B::
mylock.lock();
ioctx.write(obj, ..)
mylock.unlock()
which one is correct?
--
Den
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com