Skip to content

Commit

Permalink
rgw: clear master_zonegroup when reseting RGWPeriodMap
Browse files Browse the repository at this point in the history
Fixes: http://tracker.ceph.com/issues/17239
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
  • Loading branch information
oritwas committed Dec 25, 2016
1 parent 4afdefe commit d8f42fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rgw/rgw_rados.h
Expand Up @@ -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;
Expand Down

0 comments on commit d8f42fe

Please sign in to comment.