Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-3269

Write operations do not include error labels from underlying exception

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.12.0
    • Error Handling
    • None

    Description

      When handling exception from batch result (BulkUnmixedWriteOperationBase.ExecuteBatch) error labels are omitted (only exception.Result is used to form an exception, while exception.ErrorLabels property is excluded).
      This affects test InsertOne fails after multiple retryable writeConcernErrors.

      Attachments

        Activity

          People

            mikalai.mazurenka@mongodb.com Mikalai Mazurenka (Inactive)
            mikalai.mazurenka@mongodb.com Mikalai Mazurenka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: