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

Pass tenantId in renameCollection oplog entry for AuthOpObserver

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Service Arch
    • 3

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            hugh.tong@mongodb.com Hugh Tong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: