Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
rgw: delete non-empty buckets in slave zonegroup works not well #14043
If users delete non-empty buckets in slave zonegroup, they will get non-empty error but the buckets have actually been deleted. Before we forward the request to meta master, we should check whether the bucket is empty.
Signed-off-by: Zhang Shaowen email@example.com
referenced this pull request
Mar 22, 2017
@zhangsw i spoke with @yehudasa about this today, and he suggested that we only allow buckets to be removed on the zonegroup where they were created. this would help to avoid deleting buckets that are still in use by their original zonegroup. would you be interested in helping to implement this?
(i'm happy to merge this pr once it passes teuthology)