KillSessions should ignore CursorNotFound while killing all the cursors

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying, Storage
    • None
    • Storage Execution
    • ALL
    • Storage NYC 2019-04-22
    • 12
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      There is a TOCTOU bug in the code of KillSessions command: The cursorMap mutex is not held while each cursor is being killed. It is possible that a KillCursors command jumps in and kills a cursor which will be but has not been killed by thisĀ KillSessions. KillSessions will then get a CursorNotFound exception.

              Assignee:
              [DO NOT USE] Backlog - Storage Execution Team
              Reporter:
              Xiangyu Yao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: