]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
PGLog::merge_old_entry: simplify the oe.version > ne.version case
authorSamuel Just <sam.just@inktank.com>
Mon, 10 Feb 2014 22:07:07 +0000 (14:07 -0800)
committerSamuel Just <sam.just@inktank.com>
Tue, 18 Feb 2014 04:10:18 +0000 (20:10 -0800)
commit09d611d25c660a700db012a913e38c7229f2110a
treee162160a5ff68298760c3a1054624bc0323947ae
parentd116e55f4ac0bc04785b03c75a97fbe93f4c3155
PGLog::merge_old_entry: simplify the oe.version > ne.version case

If ne.version < oe.version, the correct answer is to rollback oe.version
if possible regardless of what the entries are.

Also, rearrange to deal with the fact that we cannot roll back a missing
object.

Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/PGLog.cc