[SERVER-43996] Make the router return flag in response to indicate if partial results were returned Created: 14/Oct/19  Updated: 29/Oct/23  Resolved: 06/Nov/19

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

Type: Improvement Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Bernard Gorman
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-786 Make the router return flag in respon... Backlog
is depended on by DRIVERS-801 Make the router return flag in respon... Closed
Documented
is documented by DOCS-13201 Investigate changes in SERVER-43996: ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2019-11-18, Sharding 2019-10-21
Participants:

 Description   

Right now, a user can opt in to getting partial results (that is, ignoring unreachable shards) by passing allowPartialResults: true  in their find command.

However, they have no way to tell if partial results were actually returned.

This ticket is to make mongos return a flag in its response if partial results were returned.



 Comments   
Comment by Githook User [ 06/Nov/19 ]

Author:

{'username': 'gormanb', 'email': 'bernard.gorman@mongodb.com', 'name': 'Bernard Gorman'}

Message: SERVER-43996 Return a cursor flag to the client if only a partial subset of results are available
Branch: master
https://github.com/mongodb/mongo/commit/a4b84bfd711ab0b2c236831abb11f29590ac4393

Comment by Esha Maharishi (Inactive) [ 24/Oct/19 ]

Passed to bernard.gorman per discussion on Chou's cr above.

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