]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PG: document state hierarchy
authorSage Weil <sage@redhat.com>
Thu, 16 Nov 2017 21:11:45 +0000 (15:11 -0600)
committerDavid Zafman <dzafman@redhat.com>
Mon, 22 Jan 2018 18:38:24 +0000 (10:38 -0800)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit e2a75c91dd21f362d0b7fb6acf6a360beefd4168)

src/osd/PG.h

index a720af28b29339d8918f812df2ff9334b3c7d7a2..70139192175ab1c81129701a323aa4ec6f53dd3d 100644 (file)
@@ -1694,6 +1694,36 @@ public:
     friend class RecoveryMachine;
 
     /* 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
 
     struct Crashed : boost::statechart::state< Crashed, RecoveryMachine >, NamedState {
       explicit Crashed(my_context ctx);