Reset rawData on opCtx before retring operation on router

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • CAR Team 2025-07-07
    • None
    • 3
    • TBD
    • 🟩 Routing and Topology
    • None
    • None
    • None
    • None
    • None
    • None

      After rewriting the pipeline for timeseries collections, we explicitly set rawData = true in
      order to signal shards that they should not attempt to rewrite the pipeline again.

      In case the operation fails and get retried on the router, the same operation context
      will be re-used. Thus, we need to reset the rawData flag attached to the operation
      context to the value of the rawData flag on the incoming request before retrying the
      operation.

            Assignee:
            Tommaso Tocci
            Reporter:
            Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: