]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
PG::proc_replica_log: adjust oinfo.last_complete based on omissing
authorSamuel Just <sam.just@inktank.com>
Thu, 21 Feb 2013 23:31:36 +0000 (15:31 -0800)
committerSamuel Just <sam.just@inktank.com>
Wed, 20 Mar 2013 22:17:22 +0000 (15:17 -0700)
commitac914834ba4fb0e4770f63c60713be7a48aa3fa1
tree9c3c2731621b10b0ae16858cb4b45eef2558305c
parent7f39704b0903fb11e3f1e102599bf0c540f93623
PG::proc_replica_log: adjust oinfo.last_complete based on omissing

Otherwise, search_for_missing may neglect to check the missing
set for some objects assuming that if the need version is
prior to last_complete, the replica must have it.

Fixes: #4994
Signed-off-by: Samuel Just <sam.just@inktank.com>
(cherry picked from commit ce7ffc34408bf32c66dc07e6f42d54b7ec489d41)
src/osd/PG.cc