[SERVER-65897] Encode the collection for index filters in encodeForIndexFilters() Created: 22/Apr/22  Updated: 29/Oct/23  Resolved: 27/Apr/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc3, 6.0.0-rc4

Type: Bug Priority: Major - P3
Reporter: Ruoxin Xu Assignee: Ruoxin Xu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0
Sprint: QO 2022-05-02
Participants:
Linked BF Score: 51

 Description   

When clearing index filters, SBE plan cache entries with the same indexFilterKey but a different collection can be removed unintentionally. Consider encoding the collection as well here.



 Comments   
Comment by Githook User [ 03/May/22 ]

Author:

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

Message: SERVER-65897 Remove SBE plan cache entries from the corresponding collection when an index filter is set or cleared

(cherry picked from commit 4ecf46e108a3a3aed8a262fe79cc0213fa605a01)
Branch: v6.0
https://github.com/mongodb/mongo/commit/279da2ed4129f4d4a4afa633d9d2546c047619bc

Comment by Githook User [ 27/Apr/22 ]

Author:

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

Message: SERVER-65897 Remove SBE plan cache entries from the corresponding collection when an index filter is set or cleared
Branch: master
https://github.com/mongodb/mongo/commit/4ecf46e108a3a3aed8a262fe79cc0213fa605a01

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