improve handling of large/NaN values for geo index version

XMLWordPrintableJSON

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

      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
            Reporter:
            Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: