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

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Query

      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.

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

              Created:
              Updated:
              Resolved: