Investigate changes in SERVER-119232: Accept 8.0-8.3 divergence when parsing subnormal numbers

XMLWordPrintableJSON

    • Type: Investigation
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Tools and Replicator

      Original Downstream Change Summary

      Query and aggregation operator has a user facing change. We changed the number parser so that it supports the full range of all representable numbers on all platforms, including subnormal numbers on linux, and hex floats on windows. This mostly impacts $toDouble and $convert operators.

      Description of Linked Ticket

      parsing 7.08263e-317 string to double in 8.0 fails with "errorMessage" : "Failed to parse number '7.08263e-317' in $convert with no onError value: Out of range", but it doesn't in 8.3 probably due to the change in SERVER-96176. This causes update_fuzzers to fail. See https://parsley.corp.mongodb.com/test/mongodb_mongo_master_enterprise_rhel_8_64_bit_dynamic_classic_engine_update_fuzzer_replication_last_continuous_27_linux_enterprise_3504d11a68fec29536a78ca7af0db36ac7c733f8_26_02_07_06_32_45/0/171bafccd9403b35f36175afeab8dded?bookmarks=0,43093&shareLine=0

            Assignee:
            Unassigned
            Reporter:
            Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: