Handle cases where a cursor is pinned by the releaseMemoryCommand

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2025-05-26
    • None
    • 3
    • None
    • 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
            Reporter:
            Foteini Alvanaki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: