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

Handle cases where a cursor is pinned by the releaseMemoryCommand

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

      If a getMore command tries to use a cursor while a releaseMemory is using it, the getMore command will fail with error ErrorCodes::CursorInUse . This does not provide a good user experience.

      When a command tries to pin a cursor, there is the error CursorInUse If a getMore command gets this error maybe it can check if it is in use by a releaseMemory command, wait (with a timeout? in a condition?) and retry.

            Assignee:
            ivan.fefer@mongodb.com Ivan Fefer
            Reporter:
            foteini.alvanaki@mongodb.com Foteini Alvanaki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: