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

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

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Works as Designed
    • None
    • 4.7.0, 4.4.3
    • manual, Server
    • None

    Description

      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.)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 27 weeks, 2 days ago