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

UUID() shell method should use binary subtype 4

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: 2.6.0-rc0
    • Fix Version/s: None
    • Component/s: JavaScript, Shell
    • Labels:
    • Backwards Compatibility:
      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

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: