Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1303

Make address a required parameter for MongoClient.close_cursor

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Minor Change

      It's currently optional to provide an upgrade path from PyMongo 2.x. Since PyMongo 3.0 MongoClient connects to all the members of a replica set making it necessary to tell close_cursor which server the cursor exists on, not just the cursor id.

      This is a minor backward breaking change, but we doubt any application calls this method directly.

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: