Configure transaction write operations with default WriteConcern

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.7
    • Affects Version/s: 3.7
    • Component/s: Internal
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Python uses the MongoClient/Database/Collection write concern and later removes it from the command. But now that unacknowledged writes with explicit sessions are prohibited (PYTHON-1483) this way of removing the writeConcern field does not work and instead raises a ConfigurationError when the MongoClient/Database/Collection is configured with unacknowledged write concern.

      We should configure transaction write operations with the proper write concern from the start.

              Assignee:
              Shane Harvey
              Reporter:
              Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: