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

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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: 4.7.0, 4.4.3
    • Component/s: manual, Server
    • Labels:
      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

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

                Dates

                Created:
                Updated:
                Resolved:
                Days since reply:
                1 year, 21 weeks, 1 day ago
                Date of 1st Reply: