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

Test IPv6 literal in SDAM

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: SDAM
    • None
    • Needed
    • Hide

      Sync the new secondary_ipv6_literal SDAM test from fc495d5.

      This is a regression test for a bug encountered with IPv6 literal handling in the Rust driver in HELP-68823.

      Show
      Sync the new secondary_ipv6_literal SDAM test from fc495d5 . This is a regression test for a bug encountered with IPv6 literal handling in the Rust driver in HELP-68823 .
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-5926 Fixed 2.0.0
      CXX-3247 Won't Do
      CSHARP-5521 Ready for Work
      GODRIVER-3503 Needs Triage
      JAVA-5810 Investigating
      NODE-6835 Backlog
      MOTOR-1440 Duplicate
      PYTHON-5194 Fixed 4.12
      PHPLIB-1641 Won't Do
      RUBY-3632 Backlog
      RUST-2175 Fixed 3.3.0
      $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 */ } #scriptField td.willNotDo { background-color: #FF0000; /* Red color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-5926 Fixed 2.0.0 CXX-3247 Won't Do CSHARP-5521 Ready for Work GODRIVER-3503 Needs Triage JAVA-5810 Investigating NODE-6835 Backlog MOTOR-1440 Duplicate PYTHON-5194 Fixed 4.12 PHPLIB-1641 Won't Do RUBY-3632 Backlog RUST-2175 Fixed 3.3.0

      Summary

      Test SDAM does not remove a secondary reporting "me":"[::1]:27017" when connecting the URI mongodb://[::1]:27017.

      Motivation

      This is a regression test for the issue noted in this comment of HELP-68823. Adding a spec test for IPv6 literals may verify this behavior works in all drivers.

      Who is the affected end user?

      Users connecting with IPv6 literals.

      How does this affect the end user?

      In the case of HELP-68823, the secondary was removed from the topology. This resulted in the client being unable to connect.

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

      (Hopefully) unlikely. I expect this would not occur if a driver represents the address as a literal string. This is fixed in the Rust driver, but may be untested in other drivers.

      If the problem does occur, what are the consequences and how severe are they?

      Failure to connect.

      Is this issue urgent?

      No?

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      Yes.

      Acceptance Criteria

      Test SDAM processing IPv6 literals. Ensure the test fails on the Rust driver before the fix and passes after.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Kevin Albertson Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: