@@ -1289,7 +1289,12 @@ transactions
1289
1289
"currentOpen" : <NumberLong>,
1290
1290
"totalAborted" : <NumberLong>,
1291
1291
"totalCommitted" : <NumberLong>,
1292
- "totalStarted" : <NumberLong>
1292
+ "totalStarted" : <NumberLong>,
1293
+ "totalPrepared" : <NumberLong>,
1294
+ "totalPreparedThenCommitted" : <NumberLong>,
1295
+ "totalPreparedThenAborted" : <NumberLong>,
1296
+ "currentPrepared" : <NumberLong>,
1297
+ "oldestActiveOplogEntryTimestamp" : <Timestamp>
1293
1298
},
1294
1299
1295
1300
.. serverstatus:: transactions
@@ -1393,6 +1398,42 @@ transactions
1393
1398
1394
1399
.. versionadded:: 4.0.2
1395
1400
1401
+ .. serverstatus:: transactions.totalPrepared
1402
+
1403
+ The total number of transactions in prepared state on this server
1404
+ since the :binary:`mongod <bin.mongod>` process's last startup.
1405
+
1406
+ .. versionadded:: 4.2
1407
+
1408
+ .. serverstatus:: transactions.totalPreparedThenCommitted
1409
+
1410
+ The total number of transactions that were prepared and committed on
1411
+ this server since the :binary:`mongod <bin.mongod>` process's last
1412
+ startup.
1413
+
1414
+ .. versionadded:: 4.2
1415
+
1416
+ .. serverstatus:: transactions.totalPreparedThenAborted
1417
+
1418
+ The total number of transactions that were prepared and aborted on
1419
+ this server since the :binary:`mongod <bin.mongod>` process's last
1420
+ startup.
1421
+
1422
+ .. versionadded:: 4.2
1423
+
1424
+ .. serverstatus:: transactions.currentPrepared
1425
+
1426
+ The current number of transactions in prepared state on this server.
1427
+
1428
+ .. versionadded:: 4.2
1429
+
1430
+ .. serverstatus:: transactions.oldestActiveOplogEntryTimestamp
1431
+
1432
+ The optime of the oldest oplog entry associated with an active
1433
+ transaction.
1434
+
1435
+ .. versionadded:: 4.2
1436
+
1396
1437
.. _server-status-wiredTiger:
1397
1438
1398
1439
wiredTiger
0 commit comments