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

improve handling of large/NaN values for geo index version

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • None
    • 5.2.0, 4.4.16, 4.2.22, 5.0.11
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.4, v4.2
    • Execution Team 2021-10-18
    • 58

    Description

      S2AccessMethod::fixSpec() checks the geo index version to ensure it is one of the enumerated values defined in S2IndexVersion. It retrieves the geo index version using BSONElement::numberLong() which does not handle NaN or large values very well.

      Attachments

        Issue Links

          Activity

            People

              benety.goh@mongodb.com Benety Goh
              benety.goh@mongodb.com Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: