]> 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)
committerSage Weil <sage@redhat.com>
Mon, 20 Nov 2017 03:32:57 +0000 (21:32 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.h

index 145d4db298291aa429a68c2a5adaece988de84fb..ec3856dc017431246e817a4a3beb06e5ef69b456 100644 (file)
@@ -1964,6 +1964,36 @@ protected:
     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);