[SERVER-41482] makeExhaustMessage should no longer call OpMsg::parse 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: | |||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||
| Description |
|
makeExhaustMessage()should no longer call OpMsg::parse on the previous response message. Instead, it should get the cursor info directly from DBResponse object. Also, it should return empty message if either DBResponse::exhaustNS is empty or DBResponse::exhaustCursorId is equal to 0. |
| Comments |
| Comment by Githook User [ 19/Aug/19 ] |
|
Author: {'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}Message:
(cherry picked from commit 451d98685a3275b4cfd53164cf323155cbb3260a) |
| Comment by Githook User [ 21/Jun/19 ] |
|
Author: {'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com'}Message:
|