-
Type: Bug
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: Index Management
Description
An Atlas user may get the following error MongoServerError('Command does not support writeConcern's) when using our helpers, so we need to omit it when the Collection Search Index helpers are in use (they are only for Atlas).
Unknowns
- How do we ignore the readConcern/writeConcern value / ensure it doesn't end up in the command document?
- Explicitly delete them in the helpersĀ
Acceptance Criteria
Code Changes
- Ignore Read/Write Concern in Atlas search index helper commands
- Collection.listSearchIndexes
- Collection.createSearchIndex
- Collection.createSearchIndexes
- Collection.dropSearchIndex
- Collection.updateSearchIndex
Testing Requirements
- Sync spec tests
- Add integration test for when atlas search index operations within a transaction
- has to be done before
-
NODE-6047 Ignore read/write concern in applySession for Atlas Search Index Helpers
- Backlog
- is related to
-
NODE-5799 Search index management operations fail with a different error message
- Closed
- split from
-
DRIVERS-2761 Avoid Appending Write/Read Concern in Atlas Search Index Helper Commands
- Implementing