Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-1931

ReIndex operation should ignore WriteConcern

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.4.3
    • Affects Version/s: 2.4.2
    • Component/s: Operations
    • None
    • Fully Compatible

      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.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: