[SERVER-45726] Allow empty firstBatch with TaskExecutorCursor Created: 23/Jan/20 Updated: 29/Oct/23 Resolved: 27/Feb/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.4, 4.3.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Benjamin Caimano (Inactive) | Assignee: | Cheahuychou Mao |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Backport Requested: |
v4.2
|
||||||||||||
| Sprint: | Service Arch 2020-01-27, Service Arch 2020-02-24, Service Arch 2020-03-09 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
In the TaskExecutorCursor, if the first batch is empty, we dump the cursor here. We should check the cursorId instead of the batch size to see if we're done. |
| Comments |
| Comment by Githook User [ 02/Mar/20 ] |
|
Author: {'name': 'Cheahuychou Mao', 'username': 'cheahuychou', 'email': 'cheahuychou.mao@mongodb.com'}Message: (cherry picked from commit 727e3a51192152607de7ab4ac3cc8d909b1f5df1) |
| Comment by Githook User [ 27/Feb/20 ] |
|
Author: {'username': 'cheahuychou', 'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com'}Message: |
| Comment by Githook User [ 27/Feb/20 ] |
|
Author: {'username': 'cheahuychou', 'name': 'Cheahuychou Mao', 'email': 'cheahuychou.mao@mongodb.com'}Message: |