[GODRIVER-3043] Avoid Appending Write/Read Concern in Atlas Search Index Helper Commands Created: 08/Nov/23  Updated: 18/Jan/24

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

Type: Bug 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
Related
related to GODRIVER-3074 Search index management operations fa... Closed
Case:
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

Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

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



 Comments   
Comment by Preston Vasquez [ 03/Jan/24 ]

Note that the search index spec tests were added in GODRIVER-3074 to avoid syncing issues: https://github.com/mongodb/mongo-go-driver/pull/1510/commits/85c6407761c2db5e96c5f29305e815f3b4107a54 . Since DRIVERS-2797 >
DRIVERS-2761 , there should be no need to sync those tests here. The action item for this ticket is to fix the bug.

Generated at Thu Feb 08 08:39:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.