[SERVER-70017] Do not parse array info for cells that don't have doubly-nested arrays Created: 27/Sep/22  Updated: 29/Oct/23  Resolved: 30/Sep/22

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

Type: Task Priority: Major - P3
Reporter: Irina Yatsenko (Inactive) Assignee: Irina Yatsenko (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: QE 2022-10-03, QE 2022-10-17
Participants:

 Description   

While it's functionally correct to use CursorWithArrayDepth on all kinds of cells, for cells that are known not to have doubly-nested arrays it's unnecessary to parse the array-info because all cell values are at level 0 anyway. Investigate the actual perf difference between the two cursors and replace CursorWithArrayDepth with a simple Cursor if warranted.



 Comments   
Comment by Githook User [ 28/Sep/22 ]

Author:

{'name': 'Irina Yatsenko', 'email': 'irina.yatsenko@mongodb.com', 'username': 'IrinaYatsenko'}

Message: SERVER-70017 Use simple cursor for CSI filters when no nested arrays
Branch: master
https://github.com/mongodb/mongo/commit/fda7dff2eda14ffb5b496e96469384bff0bde721

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