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

UUID() shell method should use binary subtype 4

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.6.0-rc0
    • Component/s: JavaScript, Shell
    • Minor Change

      Currently, the UUID() method creates binary data with subtype 3, which is deprecated.

      > UUID('0123456789abcdeffedcba9876543210')
      BinData(3,"ASNFZ4mrze/+3LqYdlQyEA==")
      >
      

      Subtype 4 should be used, and we should ensure that the generated UUID is compliant with RFC 4122. See DOCS-1543 and related driver tickets (e.g. Java, C#, and Python) for additional information.

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: