Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2713

Permit legacy transaction tests to run on load-balanced topologies and Atlas Serverless

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: Transactions
    • Labels:
      None
    • Needed
    • Hide

      Sync legacy transaction spec tests with 38e65fc.

      Drivers that do not pin connections on load balancers (e.g. libmongoc, PHP) can consider skipping the tests listed in this comment.

      Show
      Sync legacy transaction spec tests with 38e65fc . Drivers that do not pin connections on load balancers (e.g. libmongoc, PHP) can consider skipping the tests listed in this comment .
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4717 Fixed 1.26.0
      CXX-2744 Won't Fix
      CSHARP-4780 Won't Fix
      GODRIVER-2971 Won't Fix
      JAVA-5133 Won't Fix
      NODE-5608 Won't Fix
      MOTOR-1186 Duplicate
      PYTHON-3947 Won't Fix
      PHPLIB-1228 Fixed 1.17.0
      RUBY-3325 Won't Fix
      RUST-1756 Won't Fix
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-4717 Fixed 1.26.0 CXX-2744 Won't Fix CSHARP-4780 Won't Fix GODRIVER-2971 Won't Fix JAVA-5133 Won't Fix NODE-5608 Won't Fix MOTOR-1186 Duplicate PYTHON-3947 Won't Fix PHPLIB-1228 Fixed 1.17.0 RUBY-3325 Won't Fix RUST-1756 Won't Fix

      Summary

      In d2de776 for DRIVERS-720, various legacy spec tests were updated to incorporate "load-balanced" into their topology runOn requirements. The transactions spec was notably omitted. As a result, a segment of legacy spec tests are never run on Atlas Serverless, which the driver sees as a load balanced topology (see 1b471f1 and DRIVERS-1967).

      Note that the serverless runOn requirement does not come into play here, as that's generally used with "forbid" to prohibit running tests. Even if a test specified "require" or "allow" (the default) for serverless, that alone would not be sufficient to run the test if topology was also specified and omitted "load-balanced".

      Motivation

      Who is the affected end user?

      Drivers running legacy transaction specs tests.

      How does this affect the end user?

      Legacy transaction spec tests have no test coverage on load-balanced toplogies (including Atlas Serverless).

      How likely is it that this problem or use case will occur?

      Likely applies to all drivers, since the issue is in the spec tests themselves.

      Is this issue urgent?

      No, as the issue dates back over a year and was only recently discovered by the Java team.

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      Yes.

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

              Created:
              Updated:
              Resolved: