Clean up TrackingMetadata and attach it on all egress paths in mongos and mongod

XMLWordPrintableJSON

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

      Currently, the TrackingMetadata is a decoration on OperationContext that contains boost::optional fields, and is attached only through the ShardRemote egress path.

      This ticket is to make TrackingMetadata itself a boost::optional decoration on OperationContext, and attach it in the ShardingEgressMetadataHook so it is attached on all egress paths.

            Assignee:
            [DO NOT USE] Backlog - Sharding Team
            Reporter:
            Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: