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

Remove default constructor for UUID class

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.6.3, 3.7.1
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • v3.6
    • Storage 2018-01-01, Storage 2018-01-15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Having a default constructor can easily lead to accidentally using duplicate UUID values. For example, looking up a UUID in a map using operator[] will return a default constructed value.

            Assignee:
            geert.bosch@mongodb.com Geert Bosch
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: