[SERVER-72542] fullValidate should not return a count of items Created: 05/Jan/23  Updated: 29/Oct/23  Resolved: 14/Mar/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0, 4.4.20, 5.0.16, 6.0.6, 6.3.0-rc2

Type: Improvement Priority: Major - P3
Reporter: Geert Bosch Assignee: Yuhong Zhang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.3, v6.0, v5.0, v4.4
Sprint: Execution Team 2023-03-20
Participants:

 Description   

We already count the number of index entries and documents in the index consistency checking. Currently, after executing WiredTIger verify we do an extra, superfluous iteration over all index entries just to recount them. We should remove this code, so we can speed up index validation.



 Comments   
Comment by Githook User [ 17/Mar/23 ]

Author:

{'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}

Message: SERVER-72542 Avoid redundant index traversal during full validation
Branch: v4.4
https://github.com/mongodb/mongo/commit/3d472283f006afe6724afc79b66b7c9d17f4ac5f

Comment by Githook User [ 16/Mar/23 ]

Author:

{'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}

Message: SERVER-72542 Avoid redundant index traversal during full validation

(cherry picked from commit 6e1dc6ebbacc2a05b2f1cd22f54bf240ba99ad0b)
Branch: v6.3
https://github.com/mongodb/mongo/commit/4e4823e6df43a94c516047d0d17931cdf3a28326

Comment by Githook User [ 16/Mar/23 ]

Author:

{'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}

Message: SERVER-72542 Avoid redundant index traversal during full validation
Branch: v6.0
https://github.com/mongodb/mongo/commit/9d051623c542bf82ee9b4d66d1ea64fb1e3f3bcb

Comment by Githook User [ 16/Mar/23 ]

Author:

{'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}

Message: SERVER-72542 Avoid redundant index traversal during full validation

(cherry picked from commit 571cfa3561d657445ae694bf6a7b120f202b5250)
Branch: v5.0
https://github.com/mongodb/mongo/commit/6cdf0c2a0f998000f963b91631e1e615ec2977aa

Comment by Githook User [ 14/Mar/23 ]

Author:

{'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}

Message: SERVER-72542 Avoid redundant index traversal during full validation
Branch: master
https://github.com/mongodb/mongo/commit/6e1dc6ebbacc2a05b2f1cd22f54bf240ba99ad0b

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