]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: fix repair_object when missing on primary 1658/head
authorSage Weil <sage@inktank.com>
Fri, 11 Apr 2014 22:39:23 +0000 (15:39 -0700)
committerSage Weil <sage@inktank.com>
Fri, 11 Apr 2014 22:39:23 +0000 (15:39 -0700)
commit6ff645f592cd82f888b3646e10438aea781370a2
treec3037fffa7e10be634e2f9fbca99433078fa730f
parent052519ed4ae1accb79a436b416d9a2b755fe091e
osd/PG: fix repair_object when missing on primary

If the object is missing on the primary, we need to fully populate the
missing_loc.needs_recovery_map.  This broke with the recent refactoring of
recovery for EC, somewhere around 84e2f39c557c79e9ca7c3c3f0eb0bfa4860bf899.

Fixes: #8008
Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/PG.cc
src/osd/PG.h