From f4f25becde3d83ea10a02e2fb19ec8bfe1d792c9 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 16 Nov 2017 15:11:45 -0600 Subject: [PATCH] osd/PG: document state hierarchy Signed-off-by: Sage Weil (cherry picked from commit e2a75c91dd21f362d0b7fb6acf6a360beefd4168) --- src/osd/PG.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) 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); -- 2.47.3