]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: update comment about standby-replay daemons holding a rank
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 22 Jul 2022 17:22:01 +0000 (13:22 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Fri, 19 Aug 2022 14:12:06 +0000 (10:12 -0400)
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 82d9030f5a40397fc5126c6a1dd98e5c75fcaa3a)

src/mds/MDSMap.h

index 0d496ee92b8a63045246a9a22336a98aff4fb0f5..28e1c9f367c6c1f02983ae84d2d068b88e2a8e6c 100644 (file)
@@ -66,10 +66,10 @@ public:
     STATE_NULL     =   CEPH_MDS_STATE_NULL,                                  // null value for fns returning this type.
     STATE_BOOT     =   CEPH_MDS_STATE_BOOT,                // up, boot announcement.  destiny unknown.
     STATE_STANDBY  =   CEPH_MDS_STATE_STANDBY,             // up, idle.  waiting for assignment by monitor.
-    STATE_STANDBY_REPLAY = CEPH_MDS_STATE_STANDBY_REPLAY,  // up, replaying active node, ready to take over.
 
     // States of an MDS rank, and of any MDS daemon holding that rank
     // ==============================================================
+    STATE_STANDBY_REPLAY = CEPH_MDS_STATE_STANDBY_REPLAY,  // up, replaying active node, ready to take over and not serving clients. Note: Up to two MDS hold the rank being replayed.
     STATE_STOPPED  =   CEPH_MDS_STATE_STOPPED,        // down, once existed, but no subtrees. empty log.  may not be held by a daemon.
 
     STATE_CREATING  =  CEPH_MDS_STATE_CREATING,       // up, creating MDS instance (new journal, idalloc..).