Skip to content

Commit

Permalink
Merge pull request #12658 from oritwas/wip-rgw-17239
Browse files Browse the repository at this point in the history
rgw: clear master_zonegroup when reseting RGWPeriodMap

Reviewed-by: Casey Bodley <cbodley@redhat.com>
  • Loading branch information
cbodley committed Jan 3, 2017
2 parents 7e40baa + d8f42fe commit 601aa9d
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 601aa9d

Please sign in to comment.