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

Wrap command-level errors in BulkWriteError

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • 5.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers

      Detailed steps to reproduce the problem?

      When a bulk write command fails with with a top-level command error or a connection error (eg AutoReconnect)? The coll.bulk_write api suffers from a problem where any batch that fails with such an error (after retries) will abandon the bulk write exception and raise AutoReconnect directly, thus losing information about previous batches that could have succeeded.

      Definition of done: what must be done to consider the task complete?

      Add the above behavior, and remove the skips added in PYTHON-4242.

            Assignee:
            Unassigned Unassigned
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: