Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-80700

Investigate how to support dbref in multitenancy environment

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Serverless
    • Fully Compatible
    • Server Serverless 2023-09-18
    • 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. 

      Attachments

        Activity

          People

            sophia.tan@mongodb.com Sophia Tan
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: