[SERVER-67604] Check BSON array field indexes when running the validate command Created: 28/Jun/22  Updated: 29/Oct/23  Resolved: 17/Aug/22

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

Type: Task Priority: Major - P3
Reporter: Yuhong Zhang Assignee: Damian Wasilewicz
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-67590 Check BSON array field indexes when r... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-08-08, Execution Team 2022-08-22
Participants:

 Description   

The subfields' names have to be consecutive, numbered-from-zero.

We would want to use wt tool to manually create the non-conformant documents. See example here.



 Comments   
Comment by Benety Goh [ 18/Aug/22 ]

Author:

{'name': 'Damian Wasilewicz', 'email': 'damian.wasilewicz@mongodb.com', 'username': 'DamianWasilewicz'}

Message: SERVER-67604 Check BSON array field indexes when running the validate command
Branch: master
https://github.com/mongodb/mongo/commit/5e77e5fbd3871c65ee20ade0a0cf1410c6b47a9c

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