]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/FileStore: kludge sloppy hammer temp objects into temp collection 6188/head
authorSage Weil <sage@redhat.com>
Wed, 7 Oct 2015 15:49:01 +0000 (11:49 -0400)
committerSage Weil <sage@redhat.com>
Wed, 7 Oct 2015 15:49:25 +0000 (11:49 -0400)
commite049de34c83058274c9b63cc4afbc8f96d0d82df
tree7b07b42eb93602349a448a0ac66076a65bff771c
parent7e8432a25950ba119825592d00e6298fc4e5433a
os/FileStore: kludge sloppy hammer temp objects into temp collection

When we are running with a mixed hammer cluster, hammer primaries
will generate temp object names that are sloppy.  Make sure we still
put them into the temp collection.

Note that this isn't a problem on write because the primary (hammer)
OSD generated the transaction and explicitly specified a temp
collection; it's only transactions we do on our own with the sloppy
temp ghobject_t that trip over this.

Fixes: #13395
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/FileStore.h