1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
| replicaset [direct: primary] test> rs.status() { set: 'replicaset', date: ISODate('2025-05-27T02:22:02.694Z'), myState: 1, term: Long('1'), syncSourceHost: '', syncSourceId: -1, heartbeatIntervalMillis: Long('2000'), majorityVoteCount: 1, writeMajorityCount: 1, votingMembersCount: 1, writableVotingMembersCount: 1, optimes: { lastCommittedOpTime: { ts: Timestamp({ t: 1748312514, i: 1 }), t: Long('1') }, lastCommittedWallTime: ISODate('2025-05-27T02:21:54.468Z'), readConcernMajorityOpTime: { ts: Timestamp({ t: 1748312514, i: 1 }), t: Long('1') }, appliedOpTime: { ts: Timestamp({ t: 1748312514, i: 1 }), t: Long('1') }, durableOpTime: { ts: Timestamp({ t: 1748312514, i: 1 }), t: Long('1') }, writtenOpTime: { ts: Timestamp({ t: 1748312514, i: 1 }), t: Long('1') }, lastAppliedWallTime: ISODate('2025-05-27T02:21:54.468Z'), lastDurableWallTime: ISODate('2025-05-27T02:21:54.468Z'), lastWrittenWallTime: ISODate('2025-05-27T02:21:54.468Z') }, lastStableRecoveryTimestamp: Timestamp({ t: 1748312484, i: 1 }), electionCandidateMetrics: { lastElectionReason: 'electionTimeout', lastElectionDate: ISODate('2025-05-27T02:20:33.610Z'), electionTerm: Long('1'), lastCommittedOpTimeAtElection: { ts: Timestamp({ t: 1748312432, i: 1 }), t: Long('-1') }, lastSeenWrittenOpTimeAtElection: { ts: Timestamp({ t: 1748312432, i: 1 }), t: Long('-1') }, lastSeenOpTimeAtElection: { ts: Timestamp({ t: 1748312432, i: 1 }), t: Long('-1') }, numVotesNeeded: 1, priorityAtElection: 1, electionTimeoutMillis: Long('10000'), newTermStartDate: ISODate('2025-05-27T02:20:34.121Z'), wMajorityWriteAvailabilityDate: ISODate('2025-05-27T02:20:34.469Z') }, members: [ { _id: 0, name: '192.168.0.204:27017', health: 1, state: 1, stateStr: 'PRIMARY', uptime: 688, optime: { ts: Timestamp({ t: 1748312514, i: 1 }), t: Long('1') }, optimeDate: ISODate('2025-05-27T02:21:54.000Z'), optimeWritten: { ts: Timestamp({ t: 1748312514, i: 1 }), t: Long('1') }, optimeWrittenDate: ISODate('2025-05-27T02:21:54.000Z'), lastAppliedWallTime: ISODate('2025-05-27T02:21:54.468Z'), lastDurableWallTime: ISODate('2025-05-27T02:21:54.468Z'), lastWrittenWallTime: ISODate('2025-05-27T02:21:54.468Z'), syncSourceHost: '', syncSourceId: -1, infoMessage: 'Could not find member to sync from', electionTime: Timestamp({ t: 1748312433, i: 1 }), electionDate: ISODate('2025-05-27T02:20:33.000Z'), configVersion: 1, configTerm: 1, self: true, lastHeartbeatMessage: '' } ], ok: 1, '$clusterTime': { clusterTime: Timestamp({ t: 1748312514, i: 1 }), signature: { hash: Binary.createFromBase64('AAAAAAAAAAAAAAAAAAAAAAAAAAA=', 0), keyId: Long('0') } }, operationTime: Timestamp({ t: 1748312514, i: 1 }) }
|