@@ -198,8 +198,7 @@ to support sharding:
198
198
{
199
199
"_id" : "mydb.foo-a_\"cat\"",
200
200
"lastmod" : Timestamp(2, 1),
201
- "lastmodEpoch" : ObjectId("5d8aa9fbe7a2f52c300e8e6f"),
202
- "ns" : "mydb.foo",
201
+ "uuid": "c025d039-e626-435e-b2d2-c1d436038041",
203
202
"min" : {
204
203
"animal" : "cat"
205
204
},
@@ -228,8 +227,8 @@ to support sharding:
228
227
229
228
{
230
229
"_id" : "records.pets",
231
- "lastmod" : ISODate("1970-01-16T15:00:58.107Z "),
232
- "dropped" : false ,
230
+ "lastmod" : ISODate("2021-07-21T15:48:15.193Z "),
231
+ "timestamp": Timestamp(1626882495, 1) ,
233
232
"key" : {
234
233
"a" : 1
235
234
},
@@ -251,9 +250,9 @@ to support sharding:
251
250
252
251
.. code-block:: javascript
253
252
254
- { "_id" : "test", "primary" : "shardA", "partitioned" : true, "version" : { "uuid" : UUID("516a5f79-5eb9-4844-8ee9-b8e9de91b760"), "lastMod" : 1 } }
255
- { "_id" : "hr", "primary" : "shardA", "partitioned" : false, "version" : { "uuid" : UUID("8e39d61d-6259-4c33-a5ed-bcd2ae317b6f"), "lastMod" : 1 } }
256
- { "_id" : "reporting", "primary" : "shardB", "partitioned" : false, "version" : { "uuid" : UUID("07c63242-51b3-460c-865f-a67b3372d792"), "lastMod" : 1 } }
253
+ { "_id" : "test", "primary" : "shardA", "partitioned" : true, "version" : { "uuid" : UUID("516a5f79-5eb9-4844-8ee9-b8e9de91b760"), "timestamp" : Timestamp(1626894204, 1), " lastMod" : 1 } }
254
+ { "_id" : "hr", "primary" : "shardA", "partitioned" : false, "version" : { "uuid" : UUID("8e39d61d-6259-4c33-a5ed-bcd2ae317b6f"), "timestamp" : Timestamp(1626895015, 1), " lastMod" : 1 } }
255
+ { "_id" : "reporting", "primary" : "shardB", "partitioned" : false, "version" : { "uuid" : UUID("07c63242-51b3-460c-865f-a67b3372d792"), "timestamp" : Timestamp(1626895826, 1), " lastMod" : 1 } }
257
256
258
257
The method :method:`sh.status()` returns this information in the
259
258
:ref:`sharding-status-databases-fields` section.
0 commit comments