From 478d0315cb8457ecfd5cb6f96c82d12e066c7c2f Mon Sep 17 00:00:00 2001 From: Orit Wasserman Date: Sun, 25 Dec 2016 12:36:34 +0200 Subject: [PATCH] rgw: clear master_zonegroup when reseting RGWPeriodMap Fixes: http://tracker.ceph.com/issues/17239 Signed-off-by: Orit Wasserman (cherry picked from commit d8f42fe6be659c1d48bf04b30aa54ad616936145) --- src/rgw/rgw_rados.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rgw/rgw_rados.h b/src/rgw/rgw_rados.h index 32856a20aae..c44cd12c67b 100644 --- a/src/rgw/rgw_rados.h +++ b/src/rgw/rgw_rados.h @@ -1349,6 +1349,7 @@ struct RGWPeriodMap void reset() { zonegroups.clear(); zonegroups_by_api.clear(); + master_zonegroup.clear(); } uint32_t get_zone_short_id(const string& zone_id) const; -- 2.47.3