Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13686

Investigate changes in SERVER-48529: Delete unused PlanCache::feedback() mechanism

      Description

      Downstream Change Summary

      This patch removes the setParameter internalQueryCacheFeedbacksStored. I think this parameter was pretty obscure and unlikely to be ever explicitly configured, but I'm notifying downstream teams just in case. The parameter does nothing in 4.4 and has been removed in 4.6. Any uses of this in command line parameters or config files should simply be removed.

      Description of Linked Ticket

      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.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            andrew.feierabend@mongodb.com Andrew Feierabend (Inactive)
            Reporter:
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              3 years, 46 weeks, 1 day ago