Support query stats for write errors on the unified write executor on mongos

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Record shard-reported write errors against the originating statement’s query stats key.

      The mongos router already maintains per-statement keys via the per-opIndex map. It translates each locally-indexed reply item from the shards back to its originating client statement when building the client response. Use the existing translation logic to collect query stats right when an operation produces an error entry.

            Assignee:
            Unassigned
            Reporter:
            Erin Liang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: