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

Deprecate MasterSlaveConnection

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Major Change

      Description

      MasterSlaveConnection manages a MongoClient directly connected to the master, plus a set of MongoClients directly connected to the slaves. It's little more useful than a set of MongoClient instances managed by the application. Additionally, master-slave setups are themselves obsolete. Replica sets are superior, especially now that the maximum size has been increased (SERVER-15060).

      MasterSlaveConnection will be removed in PyMongo 3.0. Deprecate it in 2.8.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jesse A. Jesse Jiryu Davis
              Reporter:
              jesse A. Jesse Jiryu Davis
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: