]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw, cls_rgw: don't remove olh objects
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 2 Oct 2014 22:02:42 +0000 (15:02 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 16 Jan 2015 22:41:43 +0000 (14:41 -0800)
commit1d49393c01df7f1d4640a4f4bbbc755389d7480a
tree8014d13df8206b0f09474f351b632afbb83e4c34
parentb1dd4a719dace815f80030b3cecfd6ecefc0c1e1
rgw, cls_rgw: don't remove olh objects

A single head object can contain both olh data, and object data. Don't
remove object if it has olh information on it, just reset the other
info.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/cls/rgw/cls_rgw.cc
src/cls/rgw/cls_rgw_client.cc
src/cls/rgw/cls_rgw_client.h
src/cls/rgw/cls_rgw_ops.h
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h