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

Switch to using maxWireVersion rather than buildInfo to determine feature support

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.15.0
    • Affects Version/s: None
    • Component/s: Internal
    • Labels:
    • Major Change

      The .NET/C# Driver calls buildInfo to determine the connected server's semantic version and then uses that information in src/MongoDB.Driver.Core/Core/Misc/Feature.cs to determine whether a feature is supported. The Java Driver used to do this too but switched to maxWireVersion from isMaster/hello to determine feature support in the 4.0 release of the Java driver. We should consider this change for the 3.0 of the .NET/C# driver as C# is now the only driver that calls buildInfo and uses it in this way.

            Assignee:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Reporter:
            james.kovacs@mongodb.com James Kovacs
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: