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

Delete unused PlanCache::feedback() mechanism

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0, 4.4.3
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • v4.4
    • Query 2020-06-15
    • 0

      In previous versions, the PlanCache tracked the score associated with a cache entry for several historical executions of the cached plan. These scores were then surfaced via the planCacheListPlans comment, which was deprecated in 4.2 and removed in 4.4. The number of historical executions tracked was controlled by the internalQueryCacheFeedbacksStored setParameter.

      Since this information is no longer surfaced by the replacement for planCacheListPlans (the $planCacheStats agg stage), the code for tracking this "feedback" information can be deleted. The internalQueryCacheFeedbacksStored setParameter can also be deleted.

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: