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

improve handling of large/NaN values for geo index version

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 5.2.0, 4.4.16, 4.2.22, 5.0.11
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v5.0, v4.4, v4.2
    • Execution Team 2021-10-18
    • 58

      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.

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

              Created:
              Updated:
              Resolved: