]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: swift ignore obj storage policy during change obj meta 16383/head
authorJiaying Ren <jiaying.ren@umcloud.com>
Tue, 20 Jun 2017 07:00:55 +0000 (15:00 +0800)
committerJiaying Ren <jiaying.ren@umcloud.com>
Wed, 19 Jul 2017 10:54:58 +0000 (18:54 +0800)
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
src/rgw/rgw_op.h
src/rgw/rgw_rest_swift.cc

index 632367b9b0acc2314b855a40197e911f2d5c938b..01a3609f2847f124381476ae46abe30241723500 100644 (file)
@@ -1193,7 +1193,6 @@ public:
 class RGWPutMetadataObject : public RGWOp {
 protected:
   RGWAccessControlPolicy policy;
-  string placement_rule;
   boost::optional<ceph::real_time> delete_at;
   const char *dlo_manifest;
 
index 90a829da5b926682374ee53aee6779ef23916efe..5de2ee12539fe18e4d358cabef00de2dd1279bca 100644 (file)
@@ -943,7 +943,6 @@ int RGWPutMetadataObject_ObjStore_SWIFT::get_params()
     return r;
   }
 
-  placement_rule = s->info.env->get("HTTP_X_STORAGE_POLICY", "");
   dlo_manifest = s->info.env->get("HTTP_X_OBJECT_MANIFEST");
 
   return 0;