[SERVER-49190] Expose a function to iterate over all the entries in the ReadThroughCache Created: 30/Jun/20  Updated: 29/Oct/23  Resolved: 28/Jul/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Task Priority: Major - P3
Reporter: Tommaso Tocci Assignee: Randolph Tan
Resolution: Fixed Votes: 0
Labels: PM-1645-Milestone-2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-46199 Implement collection cache on top of ... Closed
is depended on by SERVER-49976 Cleanup database cache on shard removal Closed
Problem/Incident
Backwards Compatibility: Fully Compatible
Participants:
Linked BF Score: 0

 Description   

At the moment the ReadThroughCache allows only to invalidate entries expressing a predicate on their keys. The CatalogCache needs to invalidate/change the entries in the cache based on their values rather then on their keys.



 Comments   
Comment by Githook User [ 27/Jul/20 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-49190 Expose a function to iterate over all the entries in the ReadThroughCache
Branch: master
https://github.com/mongodb/mongo/commit/41968e2d39b7d369ed8480451b21497973818bcb

Comment by Githook User [ 27/Jul/20 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: Revert "SERVER-49190 Expose a function to iterate over all the entries in the ReadThroughCache"

This reverts commit 31d19d194bf1831cbdb7fab8505b53e6c561b2b2.
Branch: master
https://github.com/mongodb/mongo/commit/ab3b3d103aa6b65d1a1e25640b41d859acadf88c

Comment by Githook User [ 27/Jul/20 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-49190 Expose a function to iterate over all the entries in the ReadThroughCache
Branch: master
https://github.com/mongodb/mongo/commit/31d19d194bf1831cbdb7fab8505b53e6c561b2b2

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