The log notifying a QueryPlanKilled due to a range deletion should include the originating command

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • ALL
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-100163, we introduced a log to track when a range deletion killed a query on a secondary.
      This log must include the `originatingCommand` field, especially when the command is `getMore`.

      The goal of this ticket is to understand why the `originatingCommand` is not set here, which probably means that the setOriginatingCommand() is called after the acquisition of the collection.

            Assignee:
            Unassigned
            Reporter:
            Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: