Pass tenantId in renameCollection oplog entry for AuthOpObserver

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Service Arch
    • 3
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      AuthOpObserver creates psuedo oplog entries that are used for various filtering tasks.  When it produces entries for renameCollection operations, we need to add tenantIds to the entry so that it can be consumed when auth filtering is performed.  While the filtering end is not necessarily concerned with the tenantId, we want to prevent tenantIds from being passed as prefixes.  If we can modify the producer to generate tid fields when a tenantId is being passed in, we can simplify the consumer and remove the setExpectTenantPrefixForAuth function from serialization context and related functionality.

            Assignee:
            [DO NOT USE] Backlog - Service Architecture
            Reporter:
            Hugh Tong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: