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

PyMongo should have *one* client class - MongoClient

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0
    • Affects Version/s: None
    • Component/s: None
    • None

      MongoClient will support direct connection to mongod or mongos, replica set discovery and distributed reads, mongos high availablility (and possibly mongos load balancing).

      The deprecated Connection and ReplicaSetConnection classes will be removed. MongoReplicaSetClient will be removed since MongoClient will provide the same behavior. (MongoReplicaSetClient may remain as a trivial subclass of MongoClient, to ease the transition.)

      MasterSlaveConnection will also be removed. Users who still need MasterSlaveConnection can use PyMongo 2.x or implement something similar in their own applications (it's a very simple class).

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: