MongoServer.Create with ReplicaSetTagSet creates always a new Server Instance

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.9.2
    • Affects Version/s: None
    • Component/s: Connectivity
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi,

      multiple instances of the same MongoClientSettings with ReplicaSetTagSets specified, leads to the following exception:
      "MongoServer.Create has already created 100 servers which is the maximum number of servers allowed."

      MongoDB.Driver.ReplicaSetTagSet.GetHashCode() calculates different Hashes for the same Tags.

      Example Project attached.
      thx

              Assignee:
              Craig Wilson
              Reporter:
              Alice Mauschberger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: