[JAVA-5233] Avoid Appending Write Concern in Atlas Search Index Helper Commands Created: 02/Nov/23  Updated: 07/Nov/23  Resolved: 07/Nov/23

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: 4.11.0
Fix Version/s: 4.11.1

Type: Improvement Priority: Major - P3
Reporter: Slav Babanin Assignee: Slav Babanin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to DRIVERS-2761 Avoid Appending Write/Read Concern in... Implementing
Documentation Changes: Not Needed
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   

When executing Atlas Search Index helper commands, write concern must not be appended. Currently, this results in an error code 72 if write concern other than ACKNOWLEDGED is specified.

(InvalidOptions) with the message 'Command does not support writeConcern'.

Expected Behavior:
The Atlas Search Index helper commands must not append write concern.



 Comments   
Comment by Githook User [ 07/Nov/23 ]

Author:

{'name': 'Viacheslav Babanin', 'email': 'frest0512@gmail.com', 'username': 'vbabanin'}

Message: Remove write and read concern from Atlas Search Index commands. (#1241)

JAVA-5233
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/275dbc0adc12dda3b5bd9efa34fb59b5721b04d2

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