]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PrimaryLogPG: clear DEGRADED at recovery completion even if more backfill 18498/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 14:00:01 +0000 (09:00 -0500)
commit1751a094d76ac84fbcecfc9816904cbb496bd765
tree4ca241c9f0e9306a8048784742472852554e54ff
parent8f176f31d091cb53e1baa8c317df9e64bef4d95e
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>
(cherry picked from commit 3e91fda79d3be771f46394312a6b72ab75660012)
src/osd/PrimaryLogPG.cc