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

mongo_csfle_v1_get_version fix version number

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Sergey Galtsev (Inactive)
            Reporter:
            sergey.galtsev@mongodb.com Sergey Galtsev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: