]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw multisite: preserve zone's extra pool 10397/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Fri, 22 Jul 2016 08:57:45 +0000 (10:57 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Fri, 22 Jul 2016 08:57:45 +0000 (10:57 +0200)
commitd4ecc956f603a567bd4043c2be39b3e7e3402c75
tree6d649f93835e5b5005664a11b056bd6ad0014467
parentaacba7f1e8e478c0a381cbe4bcc818ad2875af7b
rgw multisite: preserve zone's extra pool

In current multisite scenarios,if a bucket is created in master, we end
up storing multipart metadata in `$source-zone.rgw.buckets.non-ec` pool
instead of the zone's own non-ec pool, so we end up additionally
creating this pool and storing multipart metadata entries in it. Also if
a bucket is created in a secondary zone, and we initiate a multipart
upload, before mdlog sync with master, we end up getting errors during
complete multipart requests as omap entries are partly stored in the
`$zone.rgw.buckets.non-ec` as well as `$source-zone.rgw.buckets.non-ec`
pools which leads to total number of parts mismatch.

Fixes: http://tracker.ceph.com/issues/16712
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_bucket.cc