[CDRIVER-4775] Avoid Appending Write/Read Concern in Atlas Search Index Helper Commands Created: 08/Nov/23  Updated: 19/Dec/23

Status: Backlog
Project: C Driver
Component/s: Index Management
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: PM Bot Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-2761 Avoid Appending Write/Read Concern in... Implementing
Upstream Changes Summary:

DRIVERS-2761:
Summary

Confirm that write/read concern are not applied to Atlas Search Index Helper commands. This is the previously expected behavior, but was previously untested. If write/read concern are applied, omit them to avoid errors from Atlas.

References

New specification tests and prose tests are added in: https://github.com/mongodb/specifications/commit/0b47194538aa817978fae0f77f684f6d5e62ebab
An implementation of the tests and fix in the C++ driver are available here: https://github.com/mongodb/mongo-cxx-driver/pull/1055 with a test follow-up here: https://github.com/mongodb/mongo-cxx-driver/pull/1069


 Description   

This ticket was split from DRIVERS-2761, please see that ticket for a detailed description.



 Comments   
Comment by Kevin Albertson [ 19/Dec/23 ]

Re-opening. Though E2E tests were omitted. The C driver includes specification tests for Atlas Search Indexes that may need to be updated: https://github.com/mongodb/mongo-c-driver/blob/3a624d53dfed8820019a8fb0e436f6151588f0f5/src/libmongoc/tests/json/index-management/

Comment by Kevin Albertson [ 12/Dec/23 ]

E2E tests for Atlas Search Indexes in the C driver were intentionally omitted in https://github.com/mongodb/mongo-c-driver/pull/1366 since the C driver did not add API for Atlas Search Indexes.

Generated at Wed Feb 07 21:21:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.