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

Fix test failures for sharded cluster without replica set

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.6.0alpha3, 1.6.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      This build failure for PHPC-1369 is likely related to retryable writes being enabled by default but the sharded cluster not using a replica sets. Many tests failed with the following unexpected error:

      Transaction numbers are only allowed on a replica set member or mongos

      Since libmongoc only communicates with mongos, it doesn't detect that the cluster doesn't actually support transaction numbers. We can either remove the SHARDED_CLUSTER environment or manually work around the issue by explicitly disabling retryable writes for that environment.

            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: