[SERVER-71030] Make CursorResponse serialize / deserialize the namespace properly Created: 02/Nov/22 Updated: 29/Oct/23 Resolved: 20/Dec/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.3.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mathis Bessa | Assignee: | Hugh Tong (Inactive) |
| 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: | Server Serverless 2022-12-12, Server Serverless 2022-12-26 | ||||||||
| Participants: | |||||||||
| Story Points: | 2 | ||||||||
| Description |
|
We currently do not serialize properly the namespace for the CursorResponse object. We need to make use of the NamespaceStringUtil::serialize everywhere we parse the NamespaceString in order not to drop the tenantId prefix from a namespace. There is the cursor_response_test.cpp file that can be used to test the changes. We can look at the roundTripThroughCursorResponseBuilderWithPartialResultsReturned for inspiration on how to test this. |
| Comments |
| Comment by Githook User [ 20/Dec/22 ] |
|
Author: {'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}Message: |
| Comment by Hugh Tong (Inactive) [ 09/Dec/22 ] |
|
Testing has encountered dependencies between |