diff --git a/source/reference/config-database.txt b/source/reference/config-database.txt index 26d61b87fa0..97fb3ca536f 100644 --- a/source/reference/config-database.txt +++ b/source/reference/config-database.txt @@ -198,8 +198,7 @@ to support sharding: { "_id" : "mydb.foo-a_\"cat\"", "lastmod" : Timestamp(2, 1), - "lastmodEpoch" : ObjectId("5d8aa9fbe7a2f52c300e8e6f"), - "ns" : "mydb.foo", + "uuid": "c025d039-e626-435e-b2d2-c1d436038041", "min" : { "animal" : "cat" }, @@ -228,8 +227,8 @@ to support sharding: { "_id" : "records.pets", - "lastmod" : ISODate("1970-01-16T15:00:58.107Z"), - "dropped" : false, + "lastmod" : ISODate("2021-07-21T15:48:15.193Z"), + "timestamp": Timestamp(1626882495, 1), "key" : { "a" : 1 }, @@ -251,9 +250,9 @@ to support sharding: .. code-block:: javascript - { "_id" : "test", "primary" : "shardA", "partitioned" : true, "version" : { "uuid" : UUID("516a5f79-5eb9-4844-8ee9-b8e9de91b760"), "lastMod" : 1 } } - { "_id" : "hr", "primary" : "shardA", "partitioned" : false, "version" : { "uuid" : UUID("8e39d61d-6259-4c33-a5ed-bcd2ae317b6f"), "lastMod" : 1 } } - { "_id" : "reporting", "primary" : "shardB", "partitioned" : false, "version" : { "uuid" : UUID("07c63242-51b3-460c-865f-a67b3372d792"), "lastMod" : 1 } } + { "_id" : "test", "primary" : "shardA", "partitioned" : true, "version" : { "uuid" : UUID("516a5f79-5eb9-4844-8ee9-b8e9de91b760"), "timestamp" : Timestamp(1626894204, 1), "lastMod" : 1 } } + { "_id" : "hr", "primary" : "shardA", "partitioned" : false, "version" : { "uuid" : UUID("8e39d61d-6259-4c33-a5ed-bcd2ae317b6f"), "timestamp" : Timestamp(1626895015, 1), "lastMod" : 1 } } + { "_id" : "reporting", "primary" : "shardB", "partitioned" : false, "version" : { "uuid" : UUID("07c63242-51b3-460c-865f-a67b3372d792"), "timestamp" : Timestamp(1626895826, 1), "lastMod" : 1 } } The method :method:`sh.status()` returns this information in the :ref:`sharding-status-databases-fields` section.