[SERVER-73546] Support retrieving multikey paths from a compound wildcard index Created: 02/Feb/23  Updated: 29/Oct/23  Resolved: 10/Feb/23

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

Type: Task Priority: Major - P3
Reporter: Ruoxin Xu Assignee: Alexander Ignatyev
Resolution: Fixed Votes: 0
Labels: M3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-72463 Extend WildcardKeyGenerator to genera... Closed
Backwards Compatibility: Fully Compatible
Sprint: QO 2023-02-20
Participants:

 Description   

After SERVER-72463, index keys can be generated for compound wildcard indexes. The format of the "multikey-path" index keys has changed to the compound pattern. We should extend helpers in 

src/mongo/db/query/wildcard_multikey_paths.h

to support compound wildcard indexes.

Currently all the helpers in the file still assume that the key pattern is a single-field wildcard index.  We should lift all relevant invariants and create a correct IndexBounds to query only the multikey path keys in a CWI.



 Comments   
Comment by Githook User [ 09/Feb/23 ]

Author:

{'name': 'Alexander Ignatyev', 'email': 'alexander.ignatyev@mongodb.com', 'username': 'aligusnet'}

Message: SERVER-73546 Support retrieving multikey paths from a compound wildcard index
Branch: master
https://github.com/mongodb/mongo/commit/869367b6613b64a1d5444f5105866e43e3b44878

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