[SERVER-65529] Validate 2dsphere indexed levels index specs as numbers instead of booleans Created: 13/Apr/22  Updated: 29/Oct/23  Resolved: 23/Jun/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Task Priority: Minor - P4
Reporter: Yuhong Zhang Assignee: David Wang (Inactive)
Resolution: Fixed Votes: 0
Labels: intern-friendly
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-06-27
Participants:

 Description   

The options are currently validated as boolean values. They should be numbers instead.

We should also maintain the list of fields of each expected type in IndexDescriptor.



 Comments   
Comment by Githook User [ 21/Jun/22 ]

Author:

{'name': 'David Wang', 'email': 'david.wang@mongodb.com'}

Message: SERVER-65529 Validate 2dsphere indexed levels index specs as numbers instead of booleans
Branch: master
https://github.com/mongodb/mongo/commit/690c79c1b26e9477ec51531198b31c50a08fa61a

Generated at Thu Feb 08 06:02:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.