]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
PG: fix name of WaitActingChange 18768/head
authorwumingqiao <wumingqiao@inspur.com>
Mon, 6 Nov 2017 12:41:23 +0000 (20:41 +0800)
committerwumingqiao <wumingqiao@inspur.com>
Mon, 6 Nov 2017 12:41:23 +0000 (20:41 +0800)
the parent state of WaitActingChange is Primary, not Peering.

Signed-off-by: wumingqiao <wumingqiao@inspur.com>
src/osd/PG.cc

index da1404200d0bc0c5afd971ee34f6b3c84ea23475..005333530f06c1a9cefdf492379c39a59442fec3 100644 (file)
@@ -8018,7 +8018,7 @@ void PG::RecoveryState::GetLog::exit()
 /*------WaitActingChange--------*/
 PG::RecoveryState::WaitActingChange::WaitActingChange(my_context ctx)
   : my_base(ctx),
-    NamedState(context< RecoveryMachine >().pg, "Started/Primary/Peering/WaitActingChange")
+    NamedState(context< RecoveryMachine >().pg, "Started/Primary/WaitActingChange")
 {
   context< RecoveryMachine >().log_enter(state_name);
 }