Add "tid" field to oplog entries

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
              Reporter:
              Janna Golden
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: