Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-700

Confirm intended behavior of CombGuidGenerator

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.8.1
    • 1.8
    • None
    • None

    Description

      The intended behavior of CombGuidGenerator is to provide a sequence of GUID values that are in ascending order. The original article regarding CombGuids is:

      http://www.informit.com/articles/article.aspx?p=25862&seqNum=7

      But it is not clear that the same generation algorithm that works for SQL Server works for MongoDB. For MongoDB the sort order of GUIDs might depend on:

      1. Which representation is being used for GUIDs (Standard, CSharpLegacy, etc...)
      2. How the server compares two BinData values

      The task for this JIRA ticket is to investigate all the factors related to CombGuidGenerator and to make any changes as might be necessary (and to document the purpose and use of CombGuids).

      Attachments

        Activity

          People

            robert@mongodb.com Robert Stam
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: