Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rgw: delete region map after upgrade to zonegroup map #10831

Merged
merged 1 commit into from Aug 25, 2016

Conversation

cbodley
Copy link
Contributor

@cbodley cbodley commented Aug 23, 2016

convert_regionmap() reads the region map and uses it to initialize the zonegroup map. but it doesn't remove the region_map afterwards, so radosgw (and some radosgw-admin commands) will keep doing this on startup, overwriting any changes made to the period/zonegroup map

Fixes: http://tracker.ceph.com/issues/17051

convert_regionmap() reads the region map and uses it to initialize the
zonegroup map.  but it doesn't remove the region_map afterwards, so
radosgw (and some radosgw-admin commands) will keep doing this on
startup, overwriting any changes made to the period/zonegroup map

Fixes: http://tracker.ceph.com/issues/17051

Signed-off-by: Casey Bodley <cbodley@redhat.com>
@cbodley
Copy link
Contributor Author

cbodley commented Aug 23, 2016

@robbat2 would you be willing to help validate this fix?

@oritwas
Copy link
Member

oritwas commented Aug 24, 2016

lgtm

@robbat2
Copy link
Contributor

robbat2 commented Aug 24, 2016

Confirmed working, it does correctly delete the region_map object on commit.

@oritwas oritwas merged commit c19ecb0 into ceph:master Aug 25, 2016
@cbodley cbodley deleted the wip-17051 branch August 25, 2016 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants