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.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: