Remove serialized trace context bson object from resharding code

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Networking & Observability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As of SERVER-107128 we no longer send $traceCtx as part of commands, but resharding still uses a serialized trace context bson object to pass around traces. This makes the code more complicated and is unnecessary as we can get the trace context from the OP_MSG on RPCs and should be able to pass around a TelemetryContext object otherwise. This should be cleaned up, but removing is tricky due to it's tight integration.

            Assignee:
            Unassigned
            Reporter:
            Michael Nugent
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: