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

Incompatible string conversion of floating point numbers in between different Windows builds

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 3.3.12
    • None
    • None
    • ALL
    • Sharding 2016-10-10
    • 0

    Description

      It looks like 40000/12 when converted to string in v3.2 results to "3333.333333333334" while in master results to "3333.333333333333". This causes some issues in sharding because the _id of config.chunks contains the string representation of the min value of that chunk.

      Attachments

        Activity

          People

            randolph@mongodb.com Randolph Tan
            randolph@mongodb.com Randolph Tan
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: