[JAVA-808] Support the Exhaust flag on query Created: 16/Apr/13  Updated: 11/Sep/18  Resolved: 25/Nov/15

Status: Closed
Project: Java Driver
Component/s: Query Operations
Affects Version/s: 2.11.1
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Unassigned
Resolution: Won't Fix Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-83 Support the Exhaust flag on query Closed
Related
is related to JAVA-807 Driver should not allow the EXHAUST f... Closed
is related to JAVA-2950 Support Exhaust Cursor in OP_MSG Closed

 Description   

See the 6th bit on OP_QUERY in the wire protocol doc: http://docs.mongodb.org/meta-driver/latest/legacy/mongodb-wire-protocol/.

This can be useful for efficient streaming of documents over a WAN (high latency, high bandwidth)



 Comments   
Comment by YANG Chenghu [ 12/Dec/16 ]

But,the Exhaust is very useful in high latency network. is there any other solution ?

Comment by Jeffrey Yemin [ 25/Nov/15 ]

We've decided that the driver will not support the exhaust flag, for a number of reasons:

  1. no mongos support
  2. no support in the find command introduced in the 3.2 server

The short of it is that exhaust is effectively deprecated by the server, so a driver should not add support for it at this time.

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