DatabaseVersion idl type should not use lexicographic comparison

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.7.4
    • Affects Version/s: 3.7.3
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2018-04-23
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This is because the DatabaseVersion is a (UUID, int) pair.

      We want "<" to check if the UUIDs are the same, and the int is less than the other int. But today, it will do a lexicographic comparison of the UUIDs, which leads to unpredictable behavior.

              Assignee:
              Esha Maharishi (Inactive)
              Reporter:
              Esha Maharishi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: