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

Raise an exception if an unacknowledged write is attempted against a secondary or arbiter.

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.4
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      This is for direct connection to a single mongod using connection.Connection. We call ismaster on each connection, so track the state of the currently connected mongod and raise an exception for non-primary unsafe write attempts.

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

              Created:
              Updated:
              Resolved: