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

Add a "cursor touch" call that would reset the cursor timeout without fetching the next document

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Querying
    • None
    • Query

    Description

      Using cursor.noCursorTimeout() to set it to never expire is only useful as a testing setting.  In a production environment, there needs to be some way to keep the cursor open under sometimes indeterminate levels of load, especially if the system relies on event queues.

      What is needed is a way to reset the cursor timeout without fetching the next document, similar to the Unix touch command that changes a file's access and modification times without actually editing the file.

      Attachments

        Activity

          People

            backlog-server-query Backlog - Query Team (Inactive)
            william.byrne@mongodb.com William Byrne III
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: