-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Component/s: Index Management
-
None
-
Needed - No Spec Changes
-
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.
- 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"
- is caused by
-
SERVER-83290 Move $search and $vectorSearch source code to community
- Closed
- related to
-
DRIVERS-2794 Update $listSearchIndexes test in Search index tests to create a database
- Backlog
- split to
-
CDRIVER-4799 Search index management operations fail with a different error message
- Closed
-
CSHARP-4890 Search index management operations fail with a different error message
- Closed
-
CXX-2799 Search index management operations fail with a different error message
- Closed
-
GODRIVER-3074 Search index management operations fail with a different error message
- Closed
-
JAVA-5273 Search index management operations fail with a different error message
- Closed
-
MOTOR-1227 Search index management operations fail with a different error message
- Closed
-
NODE-5799 Search index management operations fail with a different error message
- Closed
-
PHPLIB-1327 Search index management operations fail with a different error message
- Closed
-
PYTHON-4111 Search index management operations fail with a different error message
- Closed
-
RUBY-3362 Search index management operations fail with a different error message
- Closed
-
RUST-1812 Search index management operations fail with a different error message
- Closed