From b1a4a7cb91e164d1f8af8ce9319e3b3c1949858d Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Wed, 11 Jun 2014 16:50:41 -0700 Subject: [PATCH] rgw: set a default data extra pool name Fixes: #8585 Have a default name for the data extra pool, otherwise it would be empty which means that it'd default to the data pool name (which is a problem with ec backends). Signed-off-by: Yehuda Sadeh (cherry picked from commit b2542f8e880e45bb6d052f13eb3ef6a7c61e4cd4) --- src/rgw/rgw_rados.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index cf6e06616b0b1..be8248e9f1b8b 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -54,6 +54,7 @@ static string *notify_oids = NULL; static string shadow_ns = "shadow"; static string dir_oid_prefix = ".dir."; static string default_storage_pool = ".rgw.buckets"; +static string default_storage_extra_pool = ".rgw.buckets.extra"; static string avail_pools = ".pools.avail"; static string zone_info_oid_prefix = "zone_info."; @@ -308,6 +309,7 @@ void RGWZoneParams::init_default(RGWRados *store) RGWZonePlacementInfo default_placement; default_placement.index_pool = ".rgw.buckets.index"; default_placement.data_pool = ".rgw.buckets"; + default_placement.data_extra_pool = ".rgw.buckets.extra"; placement_pools["default-placement"] = default_placement; } } -- 2.39.5