]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedPG.cc: fix snap_trimmer object context error
authorSamuel Just <samuel.just@dreamhost.com>
Thu, 20 Jan 2011 00:47:57 +0000 (16:47 -0800)
committerSamuel Just <samuel.just@dreamhost.com>
Thu, 20 Jan 2011 01:44:55 +0000 (17:44 -0800)
commit48ebab6d1c1ab67dd4b6aa524b5668fa4324467f
tree1199fa66b742c2d74dc4f26061edaf75611b0cf1
parentd1b85e06fb5ce1cfd5bbc74ba639811b92033909
ReplicatedPG.cc: fix snap_trimmer object context error

Previously, snap_trimmer would get the clone object information from the
object store rather than using find_object_context.  This would cause
the cached version to not be updated with the new version in the case
that the object information got updated.  As a result, the need field of
the missing object could get a stale version inconsistent with the most
recent logged version.

Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/osd/ReplicatedPG.cc