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

Add "tid" field to oplog entries

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2022-01-24, Server Serverless 2022-02-07

      Add a new field to oplog entries, "tid", that stores the tenantId. This field should be part of the DurableReplOperation struct, and should be boost::optional.

      i.e.:

      {
          op: 'i',
          ns: "<database>.<collection>", ui: <existingUUID>,
          tid: "<tenant>",
          o: { ... }, ...
      }
      

      Include this as a parameter in DurableOplogEntry::DurableOplogEntry and makeOplogEntryDoc.

            Assignee:
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: