]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: fix the comment of RecoveryState hierarchical structure 46985/head
authorQinWei <fengyueqiao@foxmail.com>
Wed, 6 Jul 2022 07:21:07 +0000 (15:21 +0800)
committerGitHub <noreply@github.com>
Wed, 6 Jul 2022 07:21:07 +0000 (15:21 +0800)
The Start state should be the inner state of Started.
Beacuse the Started level is changed from the second level to the first level,  all it's inner state levels are updaged also.

Signed-off-by: QinWei <qw.mail@foxmail.com>
src/osd/PeeringState.h

index cdf762b781668e5e4ee7cefe08c41adde2d00737..1578e98a6eb9041f9faa02f997f19a6701f03218 100644 (file)
@@ -652,37 +652,37 @@ public:
   /* States */
   // Initial
   // Reset
-  // Start
-  //   Started
-  //     Primary
-  //       WaitActingChange
-  //       Peering
-  //         GetInfo
-  //         GetLog
-  //         GetMissing
-  //         WaitUpThru
-  //         Incomplete
-  //       Active
-  //         Activating
-  //         Clean
-  //         Recovered
-  //         Backfilling
-  //         WaitRemoteBackfillReserved
-  //         WaitLocalBackfillReserved
-  //         NotBackfilling
-  //         NotRecovering
-  //         Recovering
-  //         WaitRemoteRecoveryReserved
-  //         WaitLocalRecoveryReserved
-  //     ReplicaActive
-  //       RepNotRecovering
-  //       RepRecovering
-  //       RepWaitBackfillReserved
-  //       RepWaitRecoveryReserved
-  //     Stray
-  //     ToDelete
-  //       WaitDeleteReserved
-  //       Deleting
+  // Started
+  //   Start
+  //   Primary
+  //     WaitActingChange
+  //     Peering
+  //       GetInfo
+  //       GetLog
+  //       GetMissing
+  //       WaitUpThru
+  //       Incomplete
+  //     Active
+  //       Activating
+  //       Clean
+  //       Recovered
+  //       Backfilling
+  //       WaitRemoteBackfillReserved
+  //       WaitLocalBackfillReserved
+  //       NotBackfilling
+  //       NotRecovering
+  //       Recovering
+  //       WaitRemoteRecoveryReserved
+  //       WaitLocalRecoveryReserved
+  //   ReplicaActive
+  //     RepNotRecovering
+  //     RepRecovering
+  //     RepWaitBackfillReserved
+  //     RepWaitRecoveryReserved
+  //   Stray
+  //   ToDelete
+  //     WaitDeleteReserved
+  //     Deleting
   // Crashed
 
   struct Crashed : boost::statechart::state< Crashed, PeeringMachine >, NamedState {