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

Propagate AuditClientAttrs across Clients via ForwardableOperationMetadata

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • v8.0, v7.0
    • Security 2024-12-23, Security 2025-01-20
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When new threads are created, they have a separate Client that typically does not a transport::Session object. Since AuditClientAttrs is populated based on transport::Session , that will also be empty.

      ForwardableOperationMetadata is an existing mechanism used to copy data across OperationContexts. Given that OperationContexts are associated with Clients, they can also be used to transfer AuditClientAttrs from a parent thread's Client to a child thread's Client

            Assignee:
            varun.ravichandran@mongodb.com Varun Ravichandran
            Reporter:
            varun.ravichandran@mongodb.com Varun Ravichandran
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: