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.
- is related to
-
SERVER-61321 Improve handling of large/NaN values for text index version
- Closed
-
SERVER-56676 improve handling of large/NaN values for expireAfterSeconds TTL index option
- Closed
-
SERVER-58067 Support 2dsphere indexes on time-series measurements
- Closed