[SERVER-47875] Split the CollectionQueryInfo into versioned information to remain as a Collection decoration and shared information that decorates Collection's new shared decorable Created: 01/May/20  Updated: 29/Oct/23  Resolved: 11/Jun/20

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

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

Issue Links:
Depends
depends on SERVER-47886 Make Collection contain a Decorable i... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-06-01, Execution Team 2020-06-15
Participants:

 Description   

There will be multiple Collection instances for the same collection, representing different views of the Collection state. The CollectionQueryInfo contains state that should be versioned and state that should not (like statistics).

CollectionQueryInfo‘s PlanCache and UpdateIndexData index paths will be versioned and remain as a decoration on instances of Collection.

CollectionQueryInfo‘s QuerySettings and CollectionIndexUsageTracker will remain constant for all views of a collection. They will decorate the Collection class' new shared decorable object, intended to share state across Collection instances.



 Comments   
Comment by Githook User [ 11/Jun/20 ]

Author:

{'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}

Message: SERVER-47875 Split CollectionQueryInfo into versioned information to remain as a Collection decoration and shared information that decorates Collection's new shared decorable object
Branch: master
https://github.com/mongodb/mongo/commit/db1d3cd57fd6db1115f7f13b640e150c6c2dfdca

Comment by Dianna Hohensee (Inactive) [ 04/Jun/20 ]

Waiting for SERVER-47873 to commit first.

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