]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Fix problems in ReplicatedPG::do_op() logic
authorDavid Zafman <david.zafman@inktank.com>
Wed, 11 Dec 2013 01:29:48 +0000 (17:29 -0800)
committerSamuel Just <sam.just@inktank.com>
Wed, 8 Oct 2014 22:55:21 +0000 (15:55 -0700)
commit50f676143ea23cb66de02197ffdfc01fb1ac4e69
tree22fe498aac8852cd090f823e6e1c3f659aef168d
parenta081531110ee09a41208f57adad8fa2a6cd9c7b2
osd: Fix problems in ReplicatedPG::do_op() logic

Fix assert(is_degraded_object(soid)) in ReplicatedPG::wait_for_degraded_object()
  Use last_backfill_started as the backfill line
  Handle uncommon case of multi op source after backfill line and target before
  backfill line and !is_degraded_object().
  Include backfill line itself for before_backfill (<= instead of <)

Signed-off-by: David Zafman <david.zafman@inktank.com>
(cherry picked from commit 7837490a9d5fc467a2cc25400f94979d8d4b4d8e)
src/osd/ReplicatedPG.cc