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

PyMongo should have *one* client class - MongoClient

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.0
    • None
    • None

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: