Populate mongos CurOp originatingCommand before getMore cursor checkout

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

      While investigating the crash in AF-15157, it would have been helpful to know the originating command. The reason ScopedDebugInfo does not contain information about the originating command is because the crash happens before we get the chance to retrieve and pass this information to CurOp. We could rework ClusterFind::runGetMore() method such that cursor information is propagated to CurOp/OpDebug before cursorManager->checkOutCursor() (or any operation that may cause a crash).

            Assignee:
            Unassigned
            Reporter:
            Daniel Tabacaru
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: