]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: merge manifests correctly when there's prefix override 4675/head
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 14 May 2015 00:05:22 +0000 (17:05 -0700)
committerSage Weil <sage@redhat.com>
Thu, 14 May 2015 19:32:41 +0000 (15:32 -0400)
commit389ae6739ddc6239a4dd7c5f7f9bfc9b645b8577
tree87877313ae4331ae2f5a86374b650e45f3037a17
parent22984ee77722f45c0b41677b0fa3658658bd75c1
rgw: merge manifests correctly when there's prefix override

Fixes: #11622
Backport: hammer, firefly

Prefix override happens in a manifest when a rados object does not
conform to the generic prefix set on the manifest. When merging
manifests (specifically being used in multipart objects upload), we need
to check if the rule that we try to merge has a prefix that is the same
as the previous rule. Beforehand we checked if both had the same
override_prefix setting, but that might not apply as both manifests
might have different prefixes.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_rados.cc