[SERVER-38413] Always set an initial postBatchResumeToken Created: 05/Dec/18 Updated: 29/Oct/23 Resolved: 09/Jan/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.7, 4.1.7 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Bernard Gorman | 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 | ||||||||||||
| Backport Requested: |
v4.0
|
||||||||||||
| Sprint: | Query 2018-12-31, Query 2019-01-14 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
This is intended to allow a $changeStream aggregation on mongoD to return a postBatchResumeToken even when the batchSize is 0. In turn, this will allow the initial aggregate on mongoS to return a valid postBatchResumeToken, despite the fact that it never waits for any actual results from the shards. |
| Comments |
| Comment by Githook User [ 01/Mar/19 ] |
|
Author: {'name': 'Bernard Gorman', 'email': 'bernard.gorman@gmail.com', 'username': 'gormanb'}Message: (cherry picked from commit 1fd9bfa5867c3e7d6c1eebda53d5ccd8c637459e) |
| Comment by Githook User [ 20/Feb/19 ] |
|
Author: {'name': 'Bernard Gorman', 'username': 'gormanb', 'email': 'bernard.gorman@gmail.com'}Message: |
| Comment by Githook User [ 09/Jan/19 ] |
|
Author: {'username': 'gormanb', 'email': 'bernard.gorman@gmail.com', 'name': 'Bernard Gorman'}Message: |