mongo_csfle_v1_get_version fix version number

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc8, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Security 2022-05-30
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Documentation stipulates:
       

                 * Returns a product version in 64-bit integer in four 16-bit words, from high to low:
                 * - Major version
                 * - Minor version
                 * - Revision
                 * - Reserved        
                 * For example, version 6.2.1 would be encoded as: 0x0006000200010000
      

      However the actual code uses 8 bit shifts, making version 0x0000000006020100. Need to fix version generator to match the spec

      If not fixed, every downstream app will have to rewrite versioning logic after 6.1

              Assignee:
              Sergey Galtsev (Inactive)
              Reporter:
              Sergey Galtsev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: