[SERVER-41481] Return dbResponse object stored with exhaustNS and exhaustCursorId in receivedCommands Created: 03/Jun/19 Updated: 29/Oct/23 Resolved: 21/Jun/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.2.1, 4.3.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Jason Chan | Assignee: | Vishnu Kaushik |
| 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.2
|
||||||||||||||||
| Sprint: | Repl 2019-06-17, Repl 2019-07-01 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Add a new member exhaustCursorId in DbResponse object to hold the exhaust cursor id information. receivedCommands() in the command execution layer should return DBResponse with exhaustNS & exhaustCursorId members populated from response data (which is built by execCommandDatabase() and stored in replyBuilder->getBodyBuilder()) cursor.ns and cursor.id fields respectively. The values should be populated before serializing the response data and sending it to network layer. The values gets populated only if the following conditions are satisfied:
|
| Comments |
| Comment by Githook User [ 15/Aug/19 ] |
|
Author: {'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}Message: (cherry picked from commit 8b0a7b102b92891818175358b0ca82a545105023 and 00735a86d6100499519670bcc8767412d3c794cb) |
| Comment by Githook User [ 19/Jun/19 ] |
|
Author: {'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com'}Message: |
| Comment by Githook User [ 19/Jun/19 ] |
|
Author: {'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com'}Message: |