Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1683

Collect error labels from writeConcernErrors in libmongoc bulk write replies

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.8.1
    • Affects Version/s: 1.8.0
    • Component/s: None
    • None

      DRIVERS-1396 introduced a retryable writes spec test that adds an error label to a write concern error and exposes the error to the test runner (since times:2 overcomes the first retry attempt). This resulted in a PHPLIB test failure because error labels within writeConcernErrors of libmongoc's bulk write reply are never collected by phongo_exception_add_error_labels.

      libmongoc may be unique among drivers in that it reports all write concern errors in an array (CDRIVER-710) instead of a consolidated writeConcernError field described in the CRUD spec. This is a separate issue related to DRIVERS-1396.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: