]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: initialize lc pool as namespace
authorOrit Wasserman <owasserm@redhat.com>
Tue, 8 Aug 2017 08:22:42 +0000 (11:22 +0300)
committerAbhishek Lekshmanan <abhishek@suse.com>
Wed, 9 Aug 2017 13:01:52 +0000 (15:01 +0200)
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Fixes: http://tracker.ceph.com/issues/20177
(cherry picked from commit 39d76cad38272b8f6db79bdb51a054fa41189b41)

src/rgw/rgw_rados.h

index a356a456b4d137de4fa18ae4ff7e7cd4465356b6..0ae48881f548b58032eb7b32e5768602995f37a0 100644 (file)
@@ -1254,7 +1254,7 @@ struct RGWZoneParams : RGWSystemMetaObj {
     if (struct_v >= 7) {
       ::decode(lc_pool, bl);
     } else {
-      lc_pool.init(name + ".rgw.lc");
+      lc_pool = log_pool.name + ":lc";
     }
     if (struct_v >= 8) {
       ::decode(tier_config, bl);