[CSHARP-1931] ReIndex operation should ignore WriteConcern Created: 03/Mar/17  Updated: 17/Mar/17  Resolved: 06/Mar/17

Status: Closed
Project: C# Driver
Component/s: Operations
Affects Version/s: 2.4.2
Fix Version/s: 2.4.3

Type: Improvement Priority: Major - P3
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by DRIVERS-359 reIndex does not support writeConcern Closed
Backwards Compatibility: Fully Compatible

 Description   

Originally the reIndex command accepted a write concern. But it turns out that was a mistake and the latest versions of the server no longer accept a write concern for the reIndex command.

The driver should stop sending a write concern with the reIndex command.

For 2.4.3 we are simply going to ignore any write concern passed to ReIndex methods.

For 2.5 we will deprecate the WriteConcern property of the ReIndexOperation and for 3.0 we will remove it.



 Comments   
Comment by Githook User [ 06/Mar/17 ]

Author:

{u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}

Message: CSHARP-1931: ReIndex should ignore write concern.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/1a6436298e4bc51946600b411d3c7281a85b8a24

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