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

Add support for ValidatedTenancyScope to ForwardableOperationMetadata

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Service Arch 2023-11-13, Service Arch 2023-11-27

      ForwardableOperationMetadata is our current solution for propagating operation metadata between operation contexts. The operation context (and really the ValidatedTenancyScope mounted on an opCtx) will soon become the source of truth for tenant domain, and so we need a way to propagate ValidatedTenancyScope between operation contexts. This ticket covers work to stash a ValidatedTenancyScope in ForwardableOperationMetadata so it can be applied to operation contexts constructed on behalf of a parent operation with tenant domain attached.

            Assignee:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: