From: Sage Weil Date: Thu, 16 Nov 2017 21:11:45 +0000 (-0600) Subject: osd/PG: document state hierarchy X-Git-Tag: v12.2.3~145^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f4f25becde3d83ea10a02e2fb19ec8bfe1d792c9;p=ceph.git osd/PG: document state hierarchy Signed-off-by: Sage Weil (cherry picked from commit e2a75c91dd21f362d0b7fb6acf6a360beefd4168) --- diff --git a/src/osd/PG.h b/src/osd/PG.h index a720af28b293..70139192175a 100644 --- a/src/osd/PG.h +++ b/src/osd/PG.h @@ -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);