]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: be precise about "known" vs "best guess"
authorSage Weil <sage@redhat.com>
Thu, 26 Mar 2015 20:44:25 +0000 (13:44 -0700)
committerDavid Zafman <dzafman@redhat.com>
Tue, 4 Aug 2015 14:39:00 +0000 (07:39 -0700)
commitf2002b7fa2af2db52037da4c1cf66d405a4941e7
tree147c045a862fd9bc4b3d595a009d1e617af4a406
parent4e5d146ad36ef0380eb72e45dca651494658aeeb
osd: be precise about "known" vs "best guess"

We cannot assume that the auth info has the "known" digest; all replicas
may have a matching digest that does not match the oi, or we may choose
a different auth info for some other reason.  Verify that the digest
matches the oi before calling it "known".

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 546d1c7b8224d96d0cc93dc3c96f52787cd69413)
src/osd/PGBackend.cc