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

mongo_csfle_v1_get_version fix version number

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.0-rc8, 6.1.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Security 2022-05-30

    Description

      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

      Attachments

        Activity

          People

            sergey.galtsev@mongodb.com Sergey Galtsev (Inactive)
            sergey.galtsev@mongodb.com Sergey Galtsev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: