[SERVER-21912] benchrun should iterate cursor results from commands Created: 15/Dec/15  Updated: 05/Feb/16  Resolved: 21/Dec/15

Status: Closed
Project: Core Server
Component/s: Performance
Affects Version/s: None
Fix Version/s: 3.3.0

Type: Bug Priority: Major - P3
Reporter: Charlie Swanson Assignee: Charlie Swanson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Completed:
Sprint: QuInt E (01/11/16)
Participants:

 Description   

During mongo-perf, if a command returns a cursor, we do not iterate the results, so only include the time of the first batch.



 Comments   
Comment by Githook User [ 29/Jan/16 ]

Author:

{u'username': u'cswanson310', u'name': u'Charlie Swanson', u'email': u'charlie.swanson@mongodb.com'}

Message: SERVER-21912 Iterate command response cursors

During benchmarking, if a command returns a cursor object, we should
iterate the cursor until all results are returned.

(cherry picked from commit 1ad5c4f781985adcb4032523bba81655ec654cac)
Branch: v3.2
https://github.com/mongodb/mongo/commit/453ed8aee3d1738c351ea527aac00cf58e3d8738

Comment by Githook User [ 21/Dec/15 ]

Author:

{u'username': u'cswanson310', u'name': u'Charlie Swanson', u'email': u'charlie.swanson@mongodb.com'}

Message: SERVER-21912 Iterate command response cursors

During benchmarking, if a command returns a cursor object, we should
iterate the cursor until all results are returned.
Branch: master
https://github.com/mongodb/mongo/commit/1ad5c4f781985adcb4032523bba81655ec654cac

Comment by Charlie Swanson [ 15/Dec/15 ]

Code review url: https://mongodbcr.appspot.com/42050001

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