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

Allow "refreshing" cursors as we can do with sessions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When running large batch that iterate over a cursor and each step takes long time, we often need to increase the cursorTimeoutMillis parameters (here we use the equivalent of 2 hours and we still have "unknown cursor" errors sometime).

      With sessions we have the ability to refresh them (db.refreshSessions(sessions_ids_list)) so we can deal with long sessions that would normally expire.

      Don't you thing it would be intersting to get the same refresh mechanism at the cursor level ?

      db.refreshCursors(cursors_ids_list) 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              rj-10gen@arsynet.com Remi Jolin
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: