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

UUID() shell method should use binary subtype 4

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.6.0-rc0
    • JavaScript, Shell
    • Minor Change

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: