Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-81338

Improve the approach of sending killCursors request from AsyncResultsMerger

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Query Execution
    • ALL

      ARM does not send a `killCursors` request only when we are absolutely sure that the shard cursor has not been already killed. We identify that by looking at the error code in the status of the cursor. We should improve this approach either by formalising an error category and label to indicate cases where the cursor is guaranteed to already have been killed, or by dynamically attaching extra error info in cases where the cursor is destroyed.

            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            foteini.alvanaki@mongodb.com Foteini Alvanaki
            0 Vote for this issue
            2 Start watching this issue