[SERVER-69721] Serialize and deserialize namespace in cursor reply objects correctly in multitenant environment Created: 15/Sep/22  Updated: 29/Oct/23  Resolved: 21/Oct/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Janna Golden Assignee: Janna Golden
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-10-17, Server Serverless 2022-10-31
Participants:

 Description   

Deserialize:
We'll need to pass the tenantId into the IDLParserContext when parsing CursorInitialReply and CursorGetMoreReply (in getmore_cmd.cpp).

We'll have to change ValidateCursorResponse and validateResult to take in a tenantId.

Serialize:
We'll need to change the calls to nss.ns() in the find command to use NamespaceStringUtil::serialize - here and here.



 Comments   
Comment by Githook User [ 21/Oct/22 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-69721 Serialize and deserialize namespace in cursor reply objects correctly in multitenant environment
Branch: master
https://github.com/mongodb/mongo/commit/7ce351c5e56d6a33a08a3c336463ab2c8ec2ce21

Generated at Thu Feb 08 06:14:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.