-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Component/s: None
-
None
We are looking to remove the 'stats' field from the distinct command response for 3.4. Distinct is the only command that provides statistics as part of its response and only does so when run against mongoD. mongoS does not provide.
Here is what the mongoD distinct response looks like in 3.2. This change would remove the "stats" sub-document.
{ "waitedMS" : NumberLong(0), "values" : [ 99990, 99991, 99992, 99993, 99994, 99995, 99996, 99997, 99998, 99999 ], "stats" : { "n" : 10, "nscanned" : 10, "nscannedObjects" : 0, "timems" : 9, "planSummary" : "DISTINCT_SCAN { _id: 1 }" }, "ok" : 1 }
If there are implications for your driver then please bring it up with james.wahlin otherwise validate the ticket.
- is related to
-
SERVER-17275 Remove "stats" field from distinct command response
- Closed