정의
replSetGetStatusreplSetGetStatus명령은 명령을 처리한 서버의 관점에서 복제본 세트의 상태를 반환합니다. 관리 데이터베이스에서replSetGetStatus를 실행합니다.The
mongodinstance must be a replica set member forreplSetGetStatusto return successfully.이 명령은 다른 복제본 세트 노드가 보낸 하트비트에서 데이터를 가져옵니다. 하트비트 빈도로 인해 이러한 데이터는 몇 초 동안 최신 상태가 아닙니다.
팁
In
mongosh, this command can also be run through thers.status()helper method.Helper methods are convenient for
mongoshusers, but they may not return the same level of information as database commands. In cases where the convenience is not needed or the additional return fields are required, use the database command.
호환성
이 명령은 다음 환경에서 호스팅되는 배포에서 사용할 수 있습니다.
- MongoDB Atlas: The fully managed service for MongoDB deployments in the cloud
중요
This command is not supported in M0 and Flex clusters. For more information, see Unsupported Commands.
MongoDB Enterprise: MongoDB의 구독 기반 자체 관리 버전
MongoDB Community: MongoDB의 소스 사용 가능 무료 자체 관리 버전
구문
명령은 다음과 같은 구문을 가집니다:
db.adminCommand( { replSetGetStatus: 1 } )
If you run replSetGetStatus or the mongosh helper rs.status() on a member during its initial sync in the STARTUP2 state, the command returns replSetGetStatus.initialSyncStatus metrics.
After the member completes the initial synchronization and transitions to another state, the replSetGetStatus.initialSyncStatus metrics are no longer available.
참고
아직 복제본 세트를 initialized 하지 않은 경우 replSetGetStatus 명령은 다음 오류를 반환합니다.
MongoServerError: no replset config has been received
replSetInitiate 명령을 실행하고 다시 시도합니다.
예시
The following example runs the replSetGetStatus command on the admin database of the replica set primary:
db.adminCommand( { replSetGetStatus: 1 } )
이 명령은 기본 복제본 세트 예시에 대해 다음과 같은 출력을 반환합니다.
{ "set" : "replset", "date" : ISODate("2024-08-15T23:06:13.978Z"), "myState" : 1, "term" : Long(3), "syncSourceHost" : "", "syncSourceId" : -1, "heartbeatIntervalMillis" : Long(2000), "majorityVoteCount" : 2, "writeMajorityCount" : 2, "votingMembersCount" : 3, "writableVotingMembersCount" : 3, "optimes" : { "lastCommittedOpTime" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "lastCommittedWallTime" : ISODate("2024-08-15T23:06:13.978Z"), "readConcernMajorityOpTime" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "appliedOpTime" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "writtenOpTime" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "durableOpTime" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "lastAppliedWallTime" : ISODate("2024-08-15T23:06:13.978Z"), "lastWrittenWallTime" : ISODate("2024-08-15T23:06:13.978Z"), "lastDurableWallTime" : ISODate("2024-08-15T23:06:13.978Z") }, "lastStableRecoveryTimestamp" : Timestamp(1723763173, 1), "electionCandidateMetrics" : { "lastElectionReason" : "stepUpRequestSkipDryRun", "lastElectionDate" : ISODate("2024-08-15T23:06:13.978Z"), "electionTerm" : Long(3), "lastCommittedOpTimeAtElection" : { "ts" : Timestamp(1723763173, 1), "t" : Long(2) }, "lastSeenOpTimeAtElection" : { "ts" : Timestamp(1723763173, 1), "t" : Long(2) }, "lastSeenWrittenOpTimeAtElection" : { "ts" : Timestamp(1723763173, 1), "t" : Long(1) }, "numVotesNeeded" : 2, "priorityAtElection" : 1, "electionTimeoutMillis" : Long(10000), "priorPrimaryMemberId" : 1, "numCatchUpOps" : Long(0), "newTermStartDate" : ISODate("2024-08-15T23:06:13.978Z"), "wMajorityWriteAvailabilityDate" : ISODate("2024-08-15T23:06:13.978Z") }, "electionParticipantMetrics" : { "votedForCandidate" : true, "electionTerm" : Long(2), "lastVoteDate" : ISODate("2024-08-15T23:06:13.978Z"), "electionCandidateMemberId" : 1, "voteReason" : "", "lastAppliedOpTimeAtElection" : { "ts" : Timestamp(1723763173, 1), "t" : Long(1) }, "lastWrittenOpTimeAtElection" : { "ts" : Timestamp(1723763173, 1), "t" : Long(1) }, "maxAppliedOpTimeInSet" : { "ts" : Timestamp(1723763173, 1), "t" : Long(1) }, "priorityAtElection" : 1 }, "members" : [ { "_id" : 0, "name" : "m1.example.net:27017", "health" : 1, "state" : 1, "stateStr" : "PRIMARY", "uptime" : 269, "optime" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "optimeWritten" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "optimeDurable" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "optimeDate" : ISODate("2024-08-15T23:06:13.978Z"), "optimeWrittenDate" : ISODate("2024-08-15T23:06:13.978Z"), "lastAppliedWallTime": ISODate("2024-08-15T23:06:13.978Z"), "lastWrittenWallTime": ISODate("2024-08-15T23:06:13.978Z"), "lastDurableWallTime": ISODate("2024-08-15T23:06:13.978Z"), "lastStableRecoveryTimestamp" : Timestamp(1723763173, 1), "syncSourceHost" : "", "syncSourceId" : -1, "infoMessage" : "", "electionTime" : Timestamp(1723763173, 1), "electionDate" : ISODate("2024-08-15T23:06:13.978Z"), "configVersion" : 1, "configTerm" : 0, "self" : true, "lastHeartbeatMessage" : "" }, { "_id" : 1, "name" : "m2.example.net:27017", "health" : 1, "state" : 2, "stateStr" : "SECONDARY", "uptime" : 266, "optime" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "optimeWritten" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "optimeDurable" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "optimeDate" : ISODate("2024-08-15T23:06:13.978Z"), "optimeWrittenDate" : ISODate("2024-08-15T23:06:13.978Z"), "optimeDurableDate" : ISODate("2024-08-15T23:06:13.978Z"), "lastAppliedWallTime": ISODate("2024-08-15T23:06:13.978Z"), "lastWrittenWallTime": ISODate("2024-08-15T23:06:13.978Z"), "lastDurableWallTime": ISODate("2024-08-15T23:06:13.978Z"), "lastHeartbeat" : ISODate("2024-08-15T23:06:13.978Z"), "lastHeartbeatRecv" : ISODate("2024-08-15T23:06:13.978Z"), "lastStableRecoveryTimestamp" : Timestamp(1723763173, 1), "pingMs" : Long(0), "lastHeartbeatMessage" : "", "syncSourceHost" : "m3.example.net:27017", "syncSourceId" : 2, "infoMessage" : "", "configVersion" : 1 }, { "_id" : 2, "name" : "m3.example.net:27017", "health" : 1, "state" : 2, "stateStr" : "SECONDARY", "uptime" : 266, "optime" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "optimeWritten" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "optimeDurable" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "optimeDate" : ISODate("2024-08-15T23:06:13.978Z"), "optimeWrittenDate" : ISODate("2024-08-15T23:06:13.978Z"), "optimeDurableDate" : ISODate("2024-08-15T23:06:13.978Z"), "lastAppliedWallTime": ISODate("2024-08-15T23:06:13.978Z"), "lastWrittenWallTime": ISODate("2024-08-15T23:06:13.978Z"), "lastDurableWallTime": ISODate("2024-08-15T23:06:13.978Z"), "lastHeartbeat" : ISODate("2024-08-15T23:06:13.978Z"), "lastHeartbeatRecv" : ISODate("2024-08-15T23:06:13.978Z"), "lastStableRecoveryTimestamp" : Timestamp(1723763173, 1), "pingMs" : Long(0), "lastHeartbeatMessage" : "", "syncSourceHost" : "m1.example.net:27017", "syncSourceId" : 0, "infoMessage" : "", "configVersion" : 1 } ], "ok" : 1, "$clusterTime" : { "clusterTime" : Timestamp(1723763173, 1), "signature" : { "hash" : BinData(0,"9C2qcGVkipEGJW3iF90qxb/gIwc="), "keyId" : Long("6800589497806356482") } }, "operationTime" : Timestamp(1723763173, 1) }
The following example runs the replSetGetStatus command on the admin database of the replica set secondary:
db.adminCommand( { replSetGetStatus: 1 } )
이 명령은 복제본 세트 세컨더리 예시에 대해 다음과 같은 출력을 반환합니다.
{ "set" : "replset", "date" : ISODate("2024-08-15T23:06:13.978Z"), "myState" : 2, "term" : Long(3), "syncSourceHost" : "m3.example.net:27017", "syncSourceId" : 2, "heartbeatIntervalMillis" : Long(2000), "majorityVoteCount" : 2, "writeMajorityCount" : 2, "votingMembersCount" : 3, "writableVotingMembersCount" : 3, "optimes" : { "lastCommittedOpTime" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "lastCommittedWallTime" : ISODate("2024-08-15T23:06:13.978Z"), "readConcernMajorityOpTime" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "writtenOpTime" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "appliedOpTime" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "durableOpTime" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "lastAppliedWallTime" : ISODate("2024-08-15T23:06:13.978Z"), "lastWrittenWallTime" : ISODate("2024-08-15T23:06:13.978Z"), "lastDurableWallTime" : ISODate("2024-08-15T23:06:13.978Z") }, "lastStableRecoveryTimestamp" : Timestamp(1723763173, 1), "electionParticipantMetrics" : { "votedForCandidate" : true, "electionTerm" : Long(3), "lastVoteDate" : ISODate("2024-08-15T23:06:13.978Z"), "electionCandidateMemberId" : 0, "voteReason" : "", "lastAppliedOpTimeAtElection" : { "ts" : Timestamp(1723763173, 1), "t" : Long(2) }, "lastWrittenOpTimeAtElection" : { "ts" : Timestamp(1723763173, 1), "t" : Long(1) }, "maxAppliedOpTimeInSet" : { "ts" : Timestamp(1723763173, 1), "t" : Long(2) }, "maxWrittenOpTimeInSet" : { "ts" : Timestamp(1723763173, 1), "t" : Long(1) }, "priorityAtElection" : 1, "newTermStartDate" : ISODate("2024-08-15T23:06:13.978Z"), "newTermAppliedDate" : ISODate("2024-08-15T23:06:13.978Z") }, "members" : [ { "_id" : 0, "name" : "m1.example.net:27017", "health" : 1, "state" : 1, "stateStr" : "PRIMARY", "uptime" : 407, "optime" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "optimeWritten" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "optimeDurable" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "optimeDate" : ISODate("2024-08-15T23:06:13.978Z"), "optimeWrittenDate" : ISODate("2024-08-15T23:06:13.978Z"), "optimeDurableDate" : ISODate("2024-08-15T23:06:13.978Z"), "lastAppliedWallTime": ISODate("2024-08-15T23:06:13.978Z"), "lastWrittenWallTime": ISODate("2024-08-15T23:06:13.978Z"), "lastDurableWallTime": ISODate("2024-08-15T23:06:13.978Z"), "lastHeartbeat" : ISODate("2024-08-15T23:06:13.978Z"), "lastHeartbeatRecv" : ISODate("2024-08-15T23:06:13.978Z"), "lastStableRecoveryTimestamp" : Timestamp(1723763173, 1), "pingMs" : Long(0), "lastHeartbeatMessage" : "", "syncSourceHost" : "", "syncSourceId" : -1, "infoMessage" : "", "electionTime" : Timestamp(1723763173, 1), "electionDate" : ISODate("2024-08-15T23:06:13.978Z"), "configVersion" : 1 }, { "_id" : 1, "name" : "m2.example.net:27017", "health" : 1, "state" : 2, "stateStr" : "SECONDARY", "uptime" : 409, "optime" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "optimeWritten" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "optimeDurable" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "optimeDate" : ISODate("2024-08-15T23:06:13.978Z"), "optimeWrittenDate" : ISODate("2024-08-15T23:06:13.978Z"), "lastAppliedWallTime": ISODate("2024-08-15T23:06:13.978Z"), "lastWrittenWallTime": ISODate("2024-08-15T23:06:13.978Z"), "lastDurableWallTime": ISODate("2024-08-15T23:06:13.978Z"), "lastStableRecoveryTimestamp" : Timestamp(1723763173, 1), "syncSourceHost" : "m3.example.net:27017", "syncSourceId" : 2, "infoMessage" : "", "configVersion" : 1, "configTerm" : 0, "self" : true, "lastHeartbeatMessage" : "" }, { "_id" : 2, "name" : "m3.example.net:27017", "health" : 1, "state" : 2, "stateStr" : "SECONDARY", "uptime" : 407, "optime" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "optimeWritten" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "optimeDurable" : { "ts" : Timestamp(1723763173, 1), "t" : Long(3) }, "optimeDate" : ISODate("2024-08-15T23:06:13.978Z"), "optimeWrittenDate" : ISODate("2024-08-15T23:06:13.978Z"), "optimeDurableDate" : ISODate("2024-08-15T23:06:13.978Z"), "lastAppliedWallTime": ISODate("2024-08-15T23:06:13.978Z"), "lastWrittenWallTime": ISODate("2024-08-15T23:06:13.978Z"), "lastDurableWallTime": ISODate("2024-08-15T23:06:13.978Z"), "lastHeartbeat" : ISODate("2024-08-15T23:06:13.978Z"), "lastHeartbeatRecv" : ISODate("2024-08-15T23:06:13.978Z"), "lastStableRecoveryTimestamp" : Timestamp(1723763173, 1), "pingMs" : Long(0), "lastHeartbeatMessage" : "", "syncSourceHost" : "m1.example.net:27017", "syncSourceId" : 0, "infoMessage" : "", "configVersion" : 1 } ], "ok" : 1, "$clusterTime" : { "clusterTime" : Timestamp(1723763173, 1), "signature" : { "hash" : BinData(0,"kmhE5YARZlzn/DX4B/D0E5P6okY="), "keyId" : Long("6800589497806356482") } }, "operationTime" : Timestamp(1723763173, 1), }
- 이전 버전(3.6.x~4.2.0)
You can include the optional
initialSync: 1to include thereplSetGetStatus.initialSyncStatusin the output (you can omit if you do not want to return the initial sync status):db.adminCommand( { replSetGetStatus: 1, initialSync: 1 } )
- MongoDB 5.2부터
- the
replSetGetStatus.initialSyncStatusdocument contains additional fields when using a file copy based initial sync.
If you run replSetGetStatus on a member during its initial sync, the command returns replSetGetStatus.initialSyncStatus metrics.
db.adminCommand( { replSetGetStatus: 1 } )
After the member completes the initial synchronization and transitions to another state, the replSetGetStatus.initialSyncStatus metrics are no longer available.
Starting in MongoDB 9.0, to return summary initial sync metrics without the per-database and per-collection cloning details, include the optional initialSync: 2 field. Summary mode returns aggregate counts in the databases document and omits the per-database sub-documents:
db.adminCommand( { replSetGetStatus: 1, initialSync: 2 } )
요약 모드는 출력 크기가 작아 지속적인 진단 데이터 컬렉션에 적합합니다.
The following example runs the replSetGetStatus command on the admin database of the 4.4 replica set member during its initial sync:
{ "set" : "replset", "date" : ISODate("2024-08-15T23:06:13.978Z") "myState" : 5, "term" : Long(1), "syncSourceHost" : "m1.example.net:27017", "syncSourceId" : 0, "heartbeatIntervalMillis" : Long(2000), "majorityVoteCount" : 2, "writeMajorityCount" : 2, "votingMembersCount" : 2, "writableVotingMembersCount" : 2, "optimes" : { "lastCommittedOpTime" : { "ts" : Timestamp(0, 0), "t" : Long(-1) }, "lastCommittedWallTime" : ISODate("1970-01-01T00:00:00Z"), "appliedOpTime" : { "ts" : Timestamp(0, 0), "t" : Long(-1) }, "writtenOpTime": { "ts" : Timestamp(0, 0), "t" : Long(-1) }, "durableOpTime" : { "ts" : Timestamp(0, 0), "t" : Long(-1) }, "lastAppliedWallTime" : ISODate("1970-01-01T00:00:00Z"), "lastWrittenWallTime": ISODate("1970-01-01T00:00:00Z"), "lastDurableWallTime" : ISODate("1970-01-01T00:00:00Z") }, "lastStableRecoveryTimestamp" : Timestamp(0, 0), "initialSyncStatus" : { "failedInitialSyncAttempts" : 0, "maxFailedInitialSyncAttempts" : 10, "totalAttempts" : 1, "phase" : "cloningData", "bytesPerSecond" : 120942.8, "initialSyncStart" : ISODate("2024-08-15T23:06:13.978Z"), "initialSyncAttempts" : [ ], "appliedOps" : 0, "initialSyncOplogStart" : Timestamp(1723763173, 1), "syncSourceUnreachableSince" : ISODate("2024-08-15T23:06:13.978Z"), "currentOutageDurationMillis" : Long(8687), "totalTimeUnreachableMillis" : Long(8687), "databases" : { "databasesCloned" : 3, "admin" : { "collections" : 4, "clonedCollections" : 4, "start" : ISODate("2024-08-15T23:06:13.978Z"), "end" : ISODate("2024-08-15T23:06:13.978Z"), "elapsedMillis" : 429, "admin.system.roles" : { "documentsToCopy" : 22, "documentsCopied" : 22, "indexes" : 2, "fetchedBatches" : 1, "start" : ISODate("2024-08-15T23:06:13.978Z"), "end" : ISODate("2024-08-15T23:06:13.978Z"), "elapsedMillis" : 138, "receivedBatches" : 1 }, "admin.system.users" : { "documentsToCopy" : 32, "documentsCopied" : 32, "indexes" : 2, "fetchedBatches" : 1, "start" : ISODate("2024-08-15T23:06:13.978Z"), "end" : ISODate("2024-08-15T23:06:13.978Z"), "elapsedMillis" : 149, "receivedBatches" : 1 }, "admin.system.keys" : { "documentsToCopy" : 2, "documentsCopied" : 2, "indexes" : 1, "fetchedBatches" : 1, "start" : ISODate("2024-08-15T23:06:13.978Z"), "end" : ISODate("2024-08-15T23:06:13.978Z"), "elapsedMillis" : 76, "receivedBatches" : 1 }, "admin.system.version" : { "documentsToCopy" : 2, "documentsCopied" : 2, "indexes" : 1, "fetchedBatches" : 1, "start" : ISODate("2024-08-15T23:06:13.978Z"), "end" : ISODate("2024-08-15T23:06:13.978Z"), "elapsedMillis" : 66, "receivedBatches" : 1 } }, "config" : { "collections" : 2, "clonedCollections" : 2, "start" : ISODate("2024-08-15T23:06:13.978Z"), "end" : ISODate("2024-08-15T23:06:13.978Z"), "elapsedMillis" : 198, "config.transactions" : { "documentsToCopy" : 0, "documentsCopied" : 0, "indexes" : 1, "fetchedBatches" : 0, "start" : ISODate("2024-08-15T23:06:13.978Z"), "end" : ISODate("2024-08-15T23:06:13.978Z"), "elapsedMillis" : 74, "receivedBatches" : 0 }, "config.system.sessions" : { "documentsToCopy" : 0, "documentsCopied" : 0, "indexes" : 2, "fetchedBatches" : 0, "start" : ISODate("2024-08-15T23:06:13.978Z"), "end" : ISODate("2024-08-15T23:06:13.978Z"), "elapsedMillis" : 124, "receivedBatches" : 0 } }, "test" : { "collections" : 1, "clonedCollections" : 1, "start" : ISODate("2024-08-15T23:06:13.978Z"), "end" : ISODate("2024-08-15T23:06:13.978Z"), "elapsedMillis" : 47967, "test.hugeindex" : { "documentsToCopy" : 25000, "documentsCopied" : 25000, "indexes" : 2, "fetchedBatches" : 21, "start" : ISODate("2024-08-15T23:06:13.978Z"), "end" : ISODate("2024-08-15T23:06:13.978Z"), "elapsedMillis" : 47967, "receivedBatches" : 21 } } } }, "members" : [ { "_id" : 0, "name" : "m1.example.net:27017", "health" : 0, "state" : 8, "stateStr" : "(not reachable/healthy)", "uptime" : 0, "optime" : { "ts" : Timestamp(0, 0), "t" : Long(-1) }, "optimeWritten" : { "ts" : Timestamp(0, 0), "t" : Long(-1) }, "optimeDurable" : { "ts" : Timestamp(0, 0), "t" : Long(-1) }, "optimeDate" : ISODate("1970-01-01T00:00:00Z"), "optimeWrittenDate" : ISODate("1970-01-01T00:00:00Z"), "optimeDurableDate" : ISODate("1970-01-01T00:00:00Z"), "lastAppliedWallTime": ISODate("1970-01-01T00:00:00Z"), "lastWrittenWallTime": ISODate("1970-01-01T00:00:00Z"), "lastDurableWallTime": ISODate("1970-01-01T00:00:00Z"), "lastHeartbeat" : ISODate("2024-08-15T23:06:13.978Z"), "lastHeartbeatRecv" : ISODate("2024-08-15T23:06:13.978Z"), "pingMs" : Long(0), "lastHeartbeatMessage" : "Error connecting to m1.example.net:27017 (127.0.0.1:27018) :: caused by :: Connection refused", "syncSourceHost" : "", "syncSourceId" : -1, "infoMessage" : "", "configVersion" : 2 }, { "_id" : 1, "name" : "m2.example.net:27017", "health" : 1, "state" : 5, "stateStr" : "STARTUP2", "uptime" : 5297, "optime" : { "ts" : Timestamp(0, 0), "t" : Long(-1) }, "optimeWritten" : { "ts" : Timestamp(0, 0), "t" : Long(-1) }, "optimeDurable" : { "ts" : Timestamp(0, 0), "t" : Long(-1) }, "optimeDate" : ISODate("1970-01-01T00:00:00Z"), "optimeWrittenDate" : ISODate("1970-01-01T00:00:00Z"), "lastAppliedWallTime": ISODate("1970-01-01T00:00:00Z"), "lastWrittenWallTime": ISODate("2020-03-05T05:24:38Z"), "lastDurableWallTime": ISODate("1970-01-01T00:00:00Z"), "syncSourceHost" : "m1.example.net:27017", "syncSourceId" : 0, "infoMessage" : "", "configVersion" : 2, "configTerm" : 1, "self" : true, "lastHeartbeatMessage" : "" } ], "ok" : 1 }
출력
replSetGetStatus 명령은 다음 필드가 있는 문서를 반환합니다.
replSetGetStatus.setset값은replSetName설정으로 구성된 복제본 세트의 이름입니다. 이는rs.conf()의_id와 동일한 값입니다.
replSetGetStatus.dateAn ISODate formatted date and time that contains the current time according to the server that processed the replSetGetStatus command. Compare this to the values of
replSetGetStatus.members[n].lastHeartbeatto find the operational latency between this server and the other members of the replica set.
replSetGetStatus.myState0부터10사이의 정수로, 현재 멤버의 복제본 상태를 나타냅니다.
replSetGetStatus.termThe election count for the replica set, as known to this replica set member. The
termis used by the distributed consensus algorithm to ensure correctness.
replSetGetStatus.syncSourceHostThe
syncSourceHostfield holds the hostname of the member from which this instance syncs.If this instance is a primary,
syncSourceHostis an empty string and thesyncSourceId-1.
replSetGetStatus.syncSourceIdThe
syncSourceIdfield holds thereplSetGetStatus.members[n]._idof the member from which this instance synchronizes.If this instance is a primary,
syncSourceHostis an empty string and thesyncSourceId-1.
replSetGetStatus.writeMajorityCount쓰기 고려 (write concern)
"majority"를 수행하는 데 필요한 데이터 보유 투표 노드 수입니다. 쓰기 (write)는 데이터를 보유한 노드에만 적용할 수 있습니다.For the calculation of
replSetGetStatus.writeMajorityCount, see Calculating Majority for Write Concern.
replSetGetStatus.votingMembersCount중재자를 포함하여
votes: 1로 구성된 멤버의 수입니다.
replSetGetStatus.writableVotingMembersCountvotes: 1로 구성된 데이터 보유 멤버 수입니다(중재자는 포함되지 않음).
replSetGetStatus.optimesoptimes필드에는 복제 진행률을 검사하는 데 사용되는 optime을 포함한 문서가 있습니다.optimes필드에는 다양한 최적화 항목에 해당하는 ISODate 형식의 날짜 문자열이 포함됩니다.각 optime 값은 다음을 포함하는 문서입니다.
replSetGetStatus.optimes.lastCommittedWallTimeThe ISODate-formatted date string corresponding to
lastCommittedOpTime.
replSetGetStatus.optimes.readConcernMajorityOpTimeInformation, from the viewpoint of this member, regarding the most recent operation that can fulfill read concern
"majority"queries. That is, the most recentlastCommittedOpTimethat can fulfill"majority"queries.readConcernMajorityOpTimeis either less than or equal tolastCommittedOpTime.
replSetGetStatus.optimes.lastAppliedWallTimeThe ISODate-formatted date string corresponding to
appliedOpTime.
replSetGetStatus.optimes.lastDurableWallTimeThe ISODate-formatted date string corresponding to
durableOpTime.
replSetGetStatus.optimes.lastWrittenWallTime이 멤버의 oplog에 기록된 가장 최근 항목의 ISODate 형식 날짜 문자열입니다.
버전 8.0에 추가 되었습니다.
replSetGetStatus.optimes.writtenOpTime이 멤버의 oplog에 작성된 가장 최근 항목의 optime입니다.
버전 8.0에 추가 되었습니다.
replSetGetStatus.electionCandidateMetricsMetrics related to the election of the current primary.
electionCandidateMetricsis only available on the primary or a candidate for election. For a candidate, the metrics are unavailable after the candidate loses the election.replSetGetStatus.electionCandidateMetrics.electionTermThe member's election count (that is,
term) at the time it called the new election.
replSetGetStatus.electionCandidateMetrics.lastCommittedOpTimeAtElectionThe most recent
majority-committed optime, as seen by this member, at the time it called the new election.
replSetGetStatus.electionCandidateMetrics.lastSeenOpTimeAtElectionThe member's most recent
applied optimeat the time it called the new election.
replSetGetStatus.electionCandidateMetrics.lastSeenWrittenOpTimeAtElection새로운 선거를 요구한 시점에 이 멤버의 oplog에 기록된 가장 최근 항목의 optime입니다.
버전 8.0에 추가 되었습니다.
replSetGetStatus.electionCandidateMetrics.priorityAtElection선거를 호출할 당시 멤버의
priority입니다.
replSetGetStatus.electionCandidateMetrics.electionTimeoutMillis선거 시 복제본 세트가
electionTimeoutMillis설정을 지정합니다.
replSetGetStatus.electionCandidateMetrics.priorPrimaryMemberId이전 프라이머리의
members[n]._id. 이전 프라이머리가 없는 경우 해당 필드가 존재하지 않습니다.
replSetGetStatus.electionCandidateMetrics.targetCatchupOpTime새로 선출된 프라이머리의 따라잡기 프로세스를 위한 목표 optime입니다. 새로 선택된 프라이머리가 목표 따라잡기 OpTime에 도달해야만 쓰기 수락을 시작할 수 있습니다.
replSetGetStatus.electionCandidateMetrics.numCatchUpOps새로 선출된 프라이머리가 따라잡기 과정을 성공적으로 완료할 때 적용한 작업 수입니다.
replSetGetStatus.electionCandidateMetrics.newTermStartDate프라이머리로 노드의 텀이 시작된 날짜 및 시간(예:
new term엔트리가 oplog에 기록된 날짜 및 시간).
replSetGetStatus.electionCandidateMetrics.wMajorityWriteAvailabilityDate복제본 세트에 대한 투표가 끝난 후 쓰기 고려
"majority"를 사용할 수 있게 된 날짜 및 시간(new termoplog 항목이 대다수 커밋된 날짜 및 시간)
replSetGetStatus.electionParticipantMetrics멤버가 참여한 최근 투표와 관련된 지표입니다.
replSetGetStatus.electionParticipantMetrics.votedForCandidate멤버가 투표를 호출하는 후보자에게 투표했는지 여부를 나타내는 부울입니다.
replSetGetStatus.electionParticipantMetrics.electionTerm멤버가 참여한 투표의 텀입니다. 이 텀은 참가자 지표와 관련된 투표를 식별합니다.
replSetGetStatus.electionParticipantMetrics.lastVoteDate참가자가 투표한 시간을 기록하는 ISODate 형식의 날짜 문자열입니다.
replSetGetStatus.electionParticipantMetrics.electionCandidateMemberId선거를 호출하는 후보자의
members[n]._id입니다.
replSetGetStatus.electionParticipantMetrics.voteReason멤버가 후보자에게 투표하지 않은 경우 투표 사유입니다. 멤버가 후보자에게 투표한 경우 이 값은 빈 문자열입니다.
replSetGetStatus.electionParticipantMetrics.lastAppliedOpTimeAtElection마지막 투표 당시 가장 최근에 적용된 이 멤버의 optime입니다.
optime 값은 타임스탬프(
ts)와 텀(t)을 포함하는 문서입니다.
replSetGetStatus.electionParticipantMetrics.lastWrittenOpTimeAtElection마지막 투표 시점에 이 멤버의 oplog에 기록된 가장 최근 항목의 optime입니다.
버전 8.0에 추가 되었습니다.
replSetGetStatus.electionParticipantMetrics.maxAppliedOpTimeInSet해당 노드가 알고 있는 모든 복제본 세트 노드에 대해 가장 최근에 적용된 optime입니다.
replSetGetStatus.electionParticipantMetrics.maxWrittenOpTimeInSet해당 멤버가 알고 있는 모든 복제본 세트 멤버의 oplog에 기록된 가장 최근 항목의 optime입니다.
버전 8.0에 추가 되었습니다.
replSetGetStatus.electionParticipantMetrics.priorityAtElection투표 당시 멤버의
priority입니다.
replSetGetStatus.electionParticipantMetrics.newTermStartDate선출된 프라이머리의 텀이 시작된 날짜 및 시간입니다. 이는 프라이머리가
new term항목을 자신의 oplog에 작성한 날짜와 일치하며, 항목을 세컨더리의 oplog에 추가한 시기가 아닙니다(예: 복제).The field is available for secondary members only. For the primary, see
replSetGetStatus.electionCandidateMetrics.newTermStartDateinstead.
replSetGetStatus.initialSyncStatus이 멤버의 초기 동기화 진행 상황 및 상태에 대한 정보를 제공하는 문서입니다.
중요
가용성
replSetGetStatus.initialSyncStatusmetrics are only available when run on a member during its initial sync, in theSTARTUP2state.replSetGetStatus.initialSyncStatus.failedInitialSyncAttempts초기 동기화가 실패하고 이 멤버에서 다시 시작해야 했던 횟수입니다.
replSetGetStatus.initialSyncStatus.maxFailedInitialSyncAttempts멤버가 종료되기 전에 이 멤버에서 초기 동기화를 다시 시작할 수 있는 최대 횟수입니다.
replSetGetStatus.initialSyncStatus.initialSyncStart이 멤버에 대한 초기 동기화의 시작 타임스탬프입니다.
replSetGetStatus.initialSyncStatus.initialSyncEnd이 멤버에 대한 초기 동기화의 종료 타임스탬프입니다.
replSetGetStatus.initialSyncStatus.initialSyncElapsedMillisThe number of milliseconds between
initialSyncStartandinitialSyncEnd.
replSetGetStatus.initialSyncStatus.initialSyncAttempts각 문서가 단일 초기 동기화 시도에 해당하는 문서 배열입니다. 예시:
"initialSyncAttempts" : [ { "durationMillis" : 59539, "status" : "InvalidOptions: error fetching oplog during initial sync :: caused by :: Error while getting the next batch in the oplog fetcher :: caused by :: readConcern afterClusterTime value must not be greater than the current clusterTime. Requested clusterTime: { ts: Timestamp(0, 1) }; current clusterTime: { ts: Timestamp(0, 0) }", "syncSource" : "m1.example.net:27017", "rollBackId" : 1, "operationsRetried" : 120, "totalTimeUnreachableMillis" : 52601, "phase" : "cloningData", "nodeUptimeSecs" : 47, "phaseDurations" : [ { "phase" : "selectingSyncSource", "durationMillis" : 12 }, { "phase" : "cloningData", "durationMillis" : 59527 } ] } ], 각 문서에는 초기 동기화 시도에 대한 다음 정보가 포함되어 있습니다.
필드설명durationMillis
초기 동기화 시도 기간(밀리초)입니다.
상태
초기 동기화 시도의 종료 상태입니다.
syncSource
초기 동기화 시도를 위한 동기화 소스입니다.
rollBackId
초기 동기화 시도 시작 시 동기화 소스의 롤백 식별자입니다.
rollBackId파일 복사 기반 초기 동기화를 사용할 때는 나타나지 않습니다.operationsRetried
모든 작업 재시도 시도의 총 횟수입니다.
totalTimeUnreachableMillis
작업 재시도에 소요된 총 시간입니다.
상
nodeUptimeSecs
시도가 완료된 시점의 노드 실제 시간 가동 시간(초 단위).
버전 9.0에 추가 되었습니다.
이 필드는 논리적 초기 동기화를 사용할 때만 나타납니다.
phaseDurations
시도가 거친 모든 초기 동기화 단계에 대해
phase이름과durationMillis을 보고하는 문서 배열입니다.버전 9.0에 추가 되었습니다.
이 필드는 논리적 초기 동기화를 사용할 때만 나타납니다.
See also
failedInitialSyncAttempts.
replSetGetStatus.initialSyncStatus.appliedOps초기 동기화가 시작된 후 발생하여 데이터베이스를 복제한 후 적용된 작업의 수입니다.
초기 동기화 프로세스의 일부로 멤버는 복제본 세트의 현재 상태를 반영하도록 데이터 집합을 업데이트하기 위해 oplog를 사용합니다.
replSetGetStatus.initialSyncStatus.initialSyncOplogStart멤버가 초기 동기화 시작 후 발생한 변경 사항을 적용하는 초기 동기화의 oplog 애플리케이션 단계의 시작 타임스탬프입니다.
초기 동기화 프로세스의 일부로 멤버는 복제본 세트의 현재 상태를 반영하도록 데이터 집합을 업데이트하기 위해 oplog를 사용합니다.
replSetGetStatus.initialSyncStatus.initialSyncOplogEnd멤버가 초기 동기화 시작 후 발생한 변경 사항을 적용하는 초기 동기화의 oplog 애플리케이션 단계의 종료 타임스탬프입니다.
초기 동기화 프로세스의 일부로 멤버는 복제본 세트의 현재 상태를 반영하도록 데이터 집합을 업데이트하기 위해 oplog를 사용합니다.
replSetGetStatus.initialSyncStatus.syncSourceUnreachableSince동기화 원본에 연결할 수 없게 된 날짜 및 시간입니다.
현재 초기 동기화 중에 if 동기화 소스를 사용할 수 없는 경우에만 표시됩니다.
replSetGetStatus.initialSyncStatus.currentOutageDurationMillis동기화 소스를 사용할 수 없었던 시간(밀리초)입니다.
현재 초기 동기화 중에 if 동기화 소스를 사용할 수 없는 경우에만 표시됩니다.
replSetGetStatus.initialSyncStatus.totalTimeUnreachableMillis현재 초기 동기화 중에 멤버를 사용할 수 없었던 총 시간(밀리초)입니다.
replSetGetStatus.initialSyncStatus.databases초기 동기화 중에 복제된 데이터베이스에 대한 세부 정보입니다.
replSetGetStatus.initialSyncStatus.databases.databasesCloned초기 동기화 중에 복제된 데이터베이스 수입니다.
replSetGetStatus.initialSyncStatus.databases.databasesToClone초기 동기화 중에 복제해야 할 데이터베이스 수입니다.
replSetGetStatus.initialSyncStatus.databases.collectionsToClone버전 9.0에 추가 되었습니다.
초기 동기화 중에 모든 데이터베이스에서 복제해야 할 남은 컬렉션의 총 수입니다.
This aggregate count appears when you run
replSetGetStatuswithinitialSync: 2(summary mode).
replSetGetStatus.initialSyncStatus.databases.collectionsCloned버전 9.0에 추가 되었습니다.
초기 동기화 중에 모든 데이터베이스에서 복제된 총 컬렉션 수입니다.
This aggregate count appears when you run
replSetGetStatuswithinitialSync: 2(summary mode).
replSetGetStatus.initialSyncStatus.databases.<dbname>각 데이터베이스에 대해 해당 데이터베이스 복제 진행 상황에 대한 정보를 반환하는 문서입니다.
{ "collections" : <number of collections to clone in the database>, "clonedCollections" : <number of collections cloned to date>, "start" : <start date and time for the database clone>, "end" : <end date and time for the database clone>, "elapsedMillis" : <duration of the database clone>, "<db>.<collection>" : { "documentsToCopy" : <number of documents to copy>, "documentsCopied" : <number of documents copied to date>, "indexes" : <number of indexes>, "fetchedBatches" : <number of batches of documents fetched to date>, "start" : <start date and time for the collection clone>, "end" : <end date and time for the collection clone>, "elapsedMillis" : <duration of the collection clone>, "receivedBatches" : <number of batches of documents received to date> } }
replSetGetStatus.initialSyncStatus.method버전 5.2에 추가 되었습니다.
초기 동기화에 사용되는 메서드입니다.
logical로 설정된 경우 동기화는 논리적 초기 동기화입니다.fileCopyBased로 설정된 경우 동기화는 파일 복사 기반 초기 동기화입니다.
replSetGetStatus.initialSyncStatus.approxTotalDataSize동기화할 모든 파일의 대략적인 크기(바이트 단위)입니다.
이 필드는 논리적 동기화 또는 파일 복사본 기반 초기 동기화를 사용할 때 나타납니다.
replSetGetStatus.initialSyncStatus.approxTotalBytesCopied이미 복사된 총 바이트 수입니다.
이 필드는 논리적 동기화 또는 파일 복사본 기반 초기 동기화를 사용할 때 나타납니다.
replSetGetStatus.initialSyncStatus.totalInitialSyncElapsedMillis진행 중인 동기화 시도에서 경과한 총 시간입니다.
이 필드는 논리적 동기화 또는 파일 복사본 기반 초기 동기화를 사용할 때 나타납니다.
replSetGetStatus.initialSyncStatus.phase현재 진행 중인 동기화 시도의 초기 동기화 단계 입니다.
버전 9.0에 추가 되었습니다.
이 필드는 논리적 초기 동기화를 사용할 때만 나타납니다.
replSetGetStatus.initialSyncStatus.totalAttempts실패 및 성공적인 시도를 모두 포함하여 지금까지의 총 초기 동기화 시도 횟수입니다.
버전 9.0에 추가 되었습니다.
이 필드는 논리적 초기 동기화를 사용할 때만 나타납니다.
replSetGetStatus.initialSyncStatus.bytesPerSecondThe approximate rate, in bytes per second, at which data is copied during the sync attempt in progress. MongoDB derives this value from
approxTotalBytesCopiedand the elapsed time.버전 9.0에 추가 되었습니다.
이 필드는 논리적 초기 동기화를 사용할 때만 나타납니다.
replSetGetStatus.initialSyncStatus.remainingInitialSyncEstimatedMillis진행 중인 동기화 시도에 남은 예상 시간입니다.
이 필드는 논리적 동기화 또는 파일 복사본 기반 초기 동기화를 사용할 때 나타납니다.
replSetGetStatus.initialSyncStatus.initialBackupDataSize동기화할 초기 세트의 총 크기(바이트)입니다.
이 필드는 파일 복사 기반 초기 동기화를 사용할 때만 나타납니다.
replSetGetStatus.initialSyncStatus.currentOplogEnd현재 백업 커서에서 사용할 수 있도록 보장된 마지막 optime입니다.
이 필드는 파일 복사 기반 초기 동기화를 사용할 때만 나타납니다.
replSetGetStatus.initialSyncStatus.syncSourceLastApplied이 백업 커서가 시작되기 전에 동기화 소스에 적용된 마지막 업데이트의 optime입니다.
이 필드는 파일 복사 기반 초기 동기화를 사용할 때만 나타납니다.
replSetGetStatus.initialSyncStatus.numExtensions동기화가 새 백업 커서를 시작한 횟수입니다.
백업 커서가 시작되지 않은 경우 이 필드는 나타나지 않습니다.
이 필드는 파일 복사 기반 초기 동기화를 사용할 때만 나타납니다.
replSetGetStatus.initialSyncStatus.extensionDataSizeThe total bytes in the current extension.
진행 중인 확장이 없는 경우 이 필드는 표시되지 않습니다.
이 필드는 파일 복사 기반 초기 동기화를 사용할 때만 나타납니다.
replSetGetStatus.initialSyncStatus.files파일 복사 기반 초기 동기화 중에 동기화될 파일 배열입니다.
이 필드는 파일 복사 기반 초기 동기화를 사용할 때만 나타납니다.
replSetGetStatus.initialSyncStatus.files[n].filePath백업 커서의 루트를 기준으로 한 파일 경로입니다.
이 필드는 파일 복사 기반 초기 동기화를 사용할 때만 나타납니다.
replSetGetStatus.initialSyncStatus.files[n].fileSize백업 커서가 보고한 파일 크기입니다.
이 필드는 파일 복사 기반 초기 동기화를 사용할 때만 나타납니다.
replSetGetStatus.initialSyncStatus.files[n].bytesCopied지금까지 복사된 바이트 수입니다.
이 필드는 파일 복사 기반 초기 동기화를 사용할 때만 나타납니다.
replSetGetStatus.initialSyncStatus.files[n].extensionNumber이 파일이 확장자의 일부인 경우 파일이 속한 확장자 번호입니다.
이 필드는 파일 복사 기반 초기 동기화를 사용할 때만 나타납니다.
replSetGetStatus.membersmembers필드에는 복제본 세트의 모든 노드에 대한 문서가 포함된 배열이 있습니다.replSetGetStatus.members[n].ipThe resolved IP address of the member. If the
mongodis unable to resolve thereplSetGetStatus.members[n].nameto an IP address, the return value is a BSON null. Otherwise, the returned value is a string representation of the resolved IP address.
replSetGetStatus.members[n].self멤버이 현재
mongod인스턴스 인지 여부를 나타내는 부울입니다.self필드는 현재 인스턴스에 대한 문서에만mongod포함되므로 해당 값은 항상true입니다.
replSetGetStatus.members[n].state멤버의 복제 상태를 나타내는
0~10사이의 정수입니다.
replSetGetStatus.members[n].stateStrA string that describes
state.
replSetGetStatus.members[n].uptimeFor the member on which the
replSetGetStatuscommand is run,uptimeis the the number of seconds the member has been online.For the other members,
uptimeis the number of seconds the member has been in continuous communication with the member on which thereplSetGetStatuscommand was run.
replSetGetStatus.members[n].optime이 멤버가 적용한 작업 로그의 마지막 작업에 대한 정보입니다.
optime다음을 포함하는 문서를 반환합니다.t, thetermin which the last applied operation was originally generated on the primary.
replSetGetStatus.members[n].optimeDurable이 멤버이 해당 저널에 적용한 작업 로그의 마지막 작업에 관한 정보입니다.
optimeDurable다음을 포함하는 문서를 반환합니다.
replSetGetStatus.members[n].optimeDateAn ISODate formatted date string that contains the last entry from the oplog that this member applied. If this differs significantly from
lastHeartbeatthis member is either experiencing "replication lag" or there have not been any new operations after the last update. Comparemembers.optimeDatebetween all of the members of the set.
replSetGetStatus.members[n].lastAppliedWallTime복제본 세트의 이 멤버가 적용한 마지막 작업이 프라이머리 노드에 적용된 실제 시간 을 반영하는 ISODate 형식의 날짜 문자열입니다.
replSetGetStatus.members[n].lastDurableWallTime이 멤버의 저널에 마지막으로 기록된 작업이 프라이머리 노드에 처음 적용된 벽시계 시간 을 반영하는 ISODate 형식의 날짜 문자열입니다.
replSetGetStatus.members[n].electionTime현재 프라이머리의 경우, oplog의 투표 타임스탬프에 관한 정보입니다. 투표에 대한 자세한 내용은 복제본 세트 고가용성을 참조하세요.
replSetGetStatus.members[n].electionDate현재 프라이머리의 경우, 투표 날짜가 포함된 IsoDate 형식의 날짜 문자열입니다. 투표에 대한 자세한 내용은 복제본 세트 고가용성을 참조하세요.
replSetGetStatus.members[n].lastHeartbeatAn ISODate formatted date and time that contains the last time the server that processed the replSetGetStatus command received a response from a heartbeat that it sent to this member (
members[n]). Compare this value to the values of thedateandlastHeartbeatRecvfields to track latency between these replica set members.This value is only available for replica set members other than the server specified by
replSetGetStatus.members[n].self.
replSetGetStatus.members[n].lastHeartbeatRecvAn ISODate formatted date and time that contains the last time the server that processed the replSetGetStatus command received a heartbeat request from this member (
members[n]). Compare this value to the values of thedateandlastHeartbeatfields to track latency between these replica set members.This value is only available for replica set members other than the server specified by
replSetGetStatus.members[n].self.
replSetGetStatus.members[n].lastHeartbeatMessageWhen the last heartbeat included an extra message, the
lastHeartbeatMessagecontains a string representation of that message.
replSetGetStatus.members[n].pingMspingMs는 왕복 패킷이 원격 멤버와 로컬 인스턴스 사이를 이동하는 데 걸리는 시간을 밀리초(ms)로 나타냅니다.rs.status()데이터를 반환하는 멤버에는 이 값이 나타나지 않습니다.
replSetGetStatus.members[n].syncSourceHostThe
syncSourceHostfield holds the hostname of the member from which this instance syncs.If the
replSetGetStatus.members[n]is a primary,syncSourceHostis an empty string and thesyncSourceId-1.
replSetGetStatus.members[n].syncSourceIdThe
syncSourceIdfield holds thereplSetGetStatus.members[n]._idvalue of thesyncSourceHost.If the
replSetGetStatus.members[n]is a primary,syncSourceHostis an empty string and thesyncSourceId-1.
replSetGetStatus.members[n].configVersionconfigVersion값은replica set configuration version입니다.
replSetGetStatus.members[n].optimeWritten멤버의 oplog에 기록된 가장 최근 항목의 optime입니다.
버전 8.0에 추가 되었습니다.
replSetGetStatus.members[n].optimeWrittenDate멤버의 oplog에 기록된 가장 최근 항목의 ISODate 형식 날짜 문자열입니다.
버전 8.0에 추가 되었습니다.
replSetGetStatus.members[n].lastWrittenWallTime이 노드에 대한 가장 최근의 oplog 항목이 기본에 기록된 시간의 ISODate 형식의 날짜 문자열입니다.
버전 8.0에 추가 되었습니다.
replSetGetStatus.tooStaleA boolean which indicates that a replica set member has fallen too far behind the primary's oplog and is stuck in the
RECOVERINGstate. This field is only included in thereplSetGetStatusoutput if its value istrue.
ok 상태 필드, operationTime 필드 및 $clusterTime 필드에 대한 자세한 내용은 응답을 참조하세요.
replSetGetStatus.optime복제본 세트에서 노드를 제거한 후 표시됩니다. 제거된 노드에 의해 적용된 마지막 oplog 항목의 optime을 제공합니다.
replSetGetStatus.optimeDate복제본 세트에서 멤버를 제거한 후 표시됩니다. 제거된 멤버가 적용한 마지막 oplog 항목의 optime에 대한 ISODate 형식의 문자열을 제공합니다.
replSetGetStatus.optimeWritten복제본 세트에서 멤버를 제거한 후 표시합니다. 제거된 멤버의 oplog에 기록된 마지막 항목의 optime을 제공합니다.
버전 8.0에 추가 되었습니다.
replSetGetStatus.optimeWrittenDate복제본 세트에서 멤버를 제거한 후 표시합니다. 제거된 멤버의 oplog에 기록된 마지막 항목의 optime을 ISODate 형식으로 문자열로 제공합니다.
버전 8.0에 추가 되었습니다.