[SERVER-80700] Investigate how to support dbref in multitenancy environment Created: 01/Sep/23  Updated: 13/Sep/23  Resolved: 13/Sep/23

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

Type: Task Priority: Major - P3
Reporter: Sophia Tan Assignee: Sophia Tan
Resolution: Done Votes: 0
Labels: ntdi_must_have
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Serverless
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-09-18
Participants:
Story Points: 1

 Description   

Here are some test cases which use deref. 

  • jstests/core/query/dbref/ref4.js
  • jstests/core/query/dbref/ref.js
  • jstests/core/query/dbref/dbref1.js
  • jstests/core/query/dbref/dbref3.js
     
    A  DBRef field has ordered field ($id, $ref, [$db]). DBRefs are references from one document to another using the value of the first document's _id field, collection name, and, optionally, its database name, as well as any other fields. DBRefs allow you to more easily reference documents stored in multiple collections or databases.
    In this ticket, we need to investigate how to support dbref in multitenancy environment. Does mongod need to serialize/deserialize the "$db" with serialization context. 

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