[SERVER-59695] Make index filters work with SBE plan cache Created: 31/Aug/21  Updated: 29/Oct/23  Resolved: 07/Apr/22

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

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

Issue Links:
Related
is related to MONGOSH-1192 Drop reliance on createdFromQuery in ... Closed
Backwards Compatibility: Fully Compatible
Sprint: QE 2021-11-15, QE 2021-11-29, QE 2021-12-13, QO 2022-01-10, QO 2022-01-24, QO 2022-04-04, QO 2022-04-18
Participants:

 Description   

Make sure index filters work correctly with the SBE plan cache. It appears that certain entries are flushed from the cache on index creating or deletion, so this behavior will have to be maintained for the SBE plan cache as well.



 Comments   
Comment by Githook User [ 07/Apr/22 ]

Author:

{'name': 'Ruoxin Xu', 'email': 'ruoxin.xu@mongodb.com', 'username': 'RuoxinXu'}

Message: SERVER-59695 Make index filters work with SBE plan cache

Co-authored-by: Ruoxin Xu ruoxin.xu@mongodb.com
Branch: master
https://github.com/mongodb/mongo/commit/a9d10207448a5d1eeb7a6997cd298213c3e5c424

Comment by David Storch [ 09/Nov/21 ]

As part of this ticket, we should also decide whether we want to report the "indexFilterSet" in $planCacheStats output for the SBE plan cache. If the answer is yes, this should probably be implemented and tested as part of this ticket.

Generated at Thu Feb 08 05:47:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.