Global (not connection dependend) cursors + Backward reading

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Usability
    • None
    • Environment:
      MongoDB / MacOS X
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If I understand the documentation correctly a cursor is only valid in the context of a specific connection.

      I'm using a pool of MongoDB connections and if a client pages trough the results I currently have to use skip/limit (which can become quite slow for bigger values of skip) because I can't depend on getting the same connection from the pool for every request.

      So please add an option to make a cursor available globally for all connections.

      Another nice feature to have would be the ability to use the cursor to not just read forward, but backwards to (Use-Case: User chooses to view previous result page).

      I don't really know what the syntax for this could look like, because a negative value for "limit" is already used to invalidate the cursor in place.

            Assignee:
            Eliot Horowitz (Inactive)
            Reporter:
            Sascha Matzke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: