Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-60062

Fix duplicate uuid and server description deep copy found in topology description clone

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.4.10, 5.0.4, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.4
    • 135

      When the RSM's topology manager creates a new TopologyDescription it clones the previous description and makes modifications to this clone. The topology description contains a uuid field that is used to aid debugging. We have observed two descriptions published by the topology manager that have the same uuid. While it is possible that this might occur, it's highly unlikely according to the guarantees offered by UUIDs and suggests a bug. This should be fixed such that any clone contains a probabilistically unique id.

      Additionally, the server descriptions should be copied as well. The clone on TopologyDescription should have deep copy semantics.

            Assignee:
            lamont.nelson@mongodb.com Lamont Nelson
            Reporter:
            lamont.nelson@mongodb.com Lamont Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: