[JAVA-277] DBCursor.toArray() should use exhaust flag Created: 21/Feb/11  Updated: 25/Nov/15  Resolved: 25/Nov/15

Status: Closed
Project: Java Driver
Component/s: Performance
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Scott Hernandez (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

When it is clear all data is wanted then the exhaust query flag (6) should be used.



 Comments   
Comment by Jeffrey Yemin [ 25/Nov/15 ]

We've decided not to support the exhaust flag in the driver, for a couple of reasons:

  1. no mongos support
  2. no find command support
Comment by Eliot Horowitz (Inactive) [ 21/Feb/11 ]

We have to be careful with this as it adds a lot of load on the server, and depending on network connection may not speed things up.

Generated at Thu Feb 08 08:51:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.