[SERVER-4398] ClusteredCursor reported total time is just sum of individual times Created: 30/Nov/11  Updated: 11/Jul/16  Resolved: 16/Dec/11

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 2.1.0

Type: Bug Priority: Major - P3
Reporter: Greg Studer Assignee: Eric Milkie
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-4220 refactor getChunkManager() and shardi... Closed
Related
Operating System: ALL
Participants:

 Description   

...it should be the total time from initializing to returning the results of all queries. This can lead to confusion when trying to optimize queries in a sharded system.



 Comments   
Comment by Eric Milkie [ 16/Dec/11 ]

I will update docs.

Comment by auto [ 05/Dec/11 ]

Author:

{u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-4398 report the actual elapsed time for a sharded query, rather than all the shards' time added together

The elapsed time for the query will now be reflected under "millis", and I renamed "millisAvg" to "millisShardAvg" and "millisTotal" to "millisShardTotal" for clarity.
Branch: master
https://github.com/mongodb/mongo/commit/d9c699c39246d99454dc16fbb4f24ccae04acce8

Generated at Thu Feb 08 03:05:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.