]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: clear DEGRADED at recovery completion even if more backfill 18485/head
authorSage Weil <sage@redhat.com>
Mon, 23 Oct 2017 22:11:59 +0000 (17:11 -0500)
committerSage Weil <sage@redhat.com>
Tue, 24 Oct 2017 13:59:22 +0000 (08:59 -0500)
commit2207607f3c2637ad55ca4fded9348f94cf2afc3e
tree99e88858ebcf52868d23c5a1a66f1e0c5964f21e
parent8b93144a83a194ab043b4b7139dafb009b1a0662
osd/PrimaryLogPG: clear DEGRADED at recovery completion even if more backfill

We may have log recovery *and* backfill to do, but cease to be degraded
as soon as the log recovery portion is done.  If that's the case, clear
the DEGRADED bit so that the PG state is not misleading.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PrimaryLogPG.cc