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

Pass tenantId in renameCollection oplog entry for AuthOpObserver

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Service Arch
    • 3

      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:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: