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

Search index management operations fail with a different error message

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: Index Management
    • None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4799 Fixed 1.26.0, 1.25.4
      CXX-2799 Fixed 3.10.0, 3.9.1
      CSHARP-4890 Done 2.24.0
      GODRIVER-3074 Done 1.13.2
      JAVA-5273 Fixed 5.0.0
      NODE-5799 Fixed 6.4.0
      MOTOR-1227 Duplicate
      PYTHON-4111 Fixed 4.7
      PHPLIB-1327 Fixed 1.17.1
      RUBY-3362 Fixed 2.20.0
      RUST-1812 Fixed 3.0.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 */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-4799 Fixed 1.26.0, 1.25.4 CXX-2799 Fixed 3.10.0, 3.9.1 CSHARP-4890 Done 2.24.0 GODRIVER-3074 Done 1.13.2 JAVA-5273 Fixed 5.0.0 NODE-5799 Fixed 6.4.0 MOTOR-1227 Duplicate PYTHON-4111 Fixed 4.7 PHPLIB-1327 Fixed 1.17.1 RUBY-3362 Fixed 2.20.0 RUST-1812 Fixed 3.0.0

      Summary

      Starting with at least server version 7.3.0-alpha-864-g8ff75de, the error message returned for search index operations when not running on Atlas has changed, making search index spec test cases in the index-management directory fail.

      Example: https://github.com/mongodb/specifications/blob/0b47194538aa817978fae0f77f684f6d5e62ebab/source/index-management/tests/createSearchIndex.yml#L34

      • Expectation: "Search index commands are only supported with Atlas"
      • Actual: "Using Atlas Search Database Commands and the $listSearchIndexes aggregation stage requires additional configuration. Please connect to Atlas or an AtlasCLI local deployment to enable. For more information on how to connect, see https://dochub.mongodb.org/core/atlas-cli-deploy-local-reqs."

      Motivation

      Who is the affected end user?

      Drivers running the current spec tests against the latest server

      How does this affect the end user?

      Tests will fail, they need to be skipped or corrected to check for the new error message.

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

      Every time the tests are run on the new server version.

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

      CI is red for the affected server versions.

      Is this issue urgent?

      Moderately

      Is this ticket required by a downstream team?

      No

      Is this ticket only for tests?

      It is only for tests, all drivers will want to sync the change that makes tests start passing again.

      Acceptance Criteria

      • Update the test assertions to pass for server versions before and after the message was changed.
        • Both error messages contain: "Atlas"

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

              Created:
              Updated:
              Resolved: