]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
objecter, librados: add COPY_FROM operation
authorSage Weil <sage@inktank.com>
Mon, 26 Aug 2013 23:24:16 +0000 (16:24 -0700)
committerSage Weil <sage@inktank.com>
Tue, 3 Sep 2013 22:48:30 +0000 (15:48 -0700)
commit3a8adf53143a0841b4971d68d26f26ca274e902b
tree5ee43934648e5f6c8101cfdc901865ea335936b5
parent746e78c650e9f42762a3e9f3460566ad7796a4e6
objecter, librados: add COPY_FROM operation

This operation will copy an entire object (data, attrs, omap)
atomically.  If the src_version does not match the source object, or
the source object is updated while the copy is in progress, we will
fail with a suitable error code.  By atomic we mean that it will either
successfully copy the entire object in its entirety or it will fail (and
require no cleanup).

Add to C++ librados API only for now.

Signed-off-by: Sage Weil <sage@inktank.com>
Conflicts:

src/include/ceph_strings.cc
src/include/rados.h
src/osd/osd_types.cc
src/include/ceph_strings.cc
src/include/rados.h
src/include/rados/librados.hpp
src/librados/librados.cc
src/osd/osd_types.cc
src/osdc/Objecter.h
src/test/librados/misc.cc