Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-47875

Split the CollectionQueryInfo into versioned information to remain as a Collection decoration and shared information that decorates Collection's new shared decorable

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Execution Team 2020-06-01, Execution Team 2020-06-15

      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.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: