[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: |
|
||||||||||||||||||||
| 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: |
| Comment by Esha Maharishi (Inactive) [ 24/Oct/19 ] |
|
Passed to bernard.gorman per discussion on Chou's cr above. |