]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: Turn off repair pg state when leaving recovery 30852/head
authorDavid Zafman <dzafman@redhat.com>
Sat, 31 Aug 2019 03:00:35 +0000 (03:00 +0000)
committerDavid Zafman <dzafman@redhat.com>
Wed, 2 Oct 2019 02:50:23 +0000 (19:50 -0700)
Fixes: https://tracker.ceph.com/issues/42115
Caused by: d2ca3d2feb442f97ca89023c7d01178d96f517a6

Signed-off-by: David Zafman <dzafman@redhat.com>
src/osd/PeeringState.cc

index ae55a3a73dc59c061b4e014f7f98f53fee108fbd..e69645f8d31d757be8139d66e580a1c585bc9369 100644 (file)
@@ -4894,6 +4894,7 @@ PeeringState::NotRecovering::NotRecovering(my_context ctx)
 {
   context< PeeringMachine >().log_enter(state_name);
   DECLARE_LOCALS;
+  ps->state_clear(PG_STATE_REPAIR);
   pl->publish_stats_to_osd();
 }