]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
PG: fix add_next_event and merge add_event
authorSamuel Just <samuel.just@dreamhost.com>
Fri, 24 Jun 2011 00:06:02 +0000 (17:06 -0700)
committerSamuel Just <samuel.just@dreamhost.com>
Tue, 28 Jun 2011 18:23:50 +0000 (11:23 -0700)
commitb418896d43e7d6b3d900f5c51463683c2e938c3e
tree1ec6b50bfee1dbd1e4b89eda3c7b048c43e2e533
parentfab24c80763bbe329ab722dded375a840f46bf87
PG: fix add_next_event and merge add_event

Previously, we would assume that we had an object at the prior_version
in the log event if we encounter it but don't see the object in missing.
Now, if prior_version < log_tail, we assume that we do not have the
object.

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