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

Connect calls buildInfo in 1.x branch

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.10, 2.0
    • Component/s: None

      We changed what gets reported in buildInfo, and now connect fails in the 1.x branch of the C# driver. Connect calls both ping and buildInfo before returning, and the buildInfo call seems to capture only a small part of the information available even before the recent changes.

      Can connect not call buildInfo? The info in buildInfo is mostly useful internally during testing to exclude certain tests from certain OSs/architectures and for debugging. Although it's available to users and documented, it's not something most users should have to use very often - let alone be valuable enough to fetch/parse on every connect.

      Also, can constructing the buildInfo class not fail if some fields are missing? I think there may be further changes to buildinfo in master/3.2 as we refactor the build system.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            jonathan.reams@mongodb.com Jonathan Reams
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: