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

killSessions command can return CursorNotFound error for successful kill

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Code Review
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL
    • Linked BF Score:
      14

      Description

      When the killSessions command is executed, it will attempt to kill cursors associated with the sessions being killed. As part of this, it will build a list of cursors owned by a session and then kill each cursor in the list. It is possible that in between list fetch and kill that a given cursor is killed by an external operation. When this occurs, a CursorNotFound error will be returned on attempt to kill. While we will continue to kill the remainder of the list, this error will be returned to the user. This is misleading because the end result is the same with all session resources being freed.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: