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

Allow "refreshing" cursors as we can do with sessions

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

      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) 

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

              Created:
              Updated:
              Resolved: