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

Update statistics in the cache after running analyze command

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • QO 2022-10-31, QO 2022-11-14

      Currently statistics in the cache is not invalidated after analyze command, and hence its not updated. 
      If statistics is updated in the collection the analyze command must invalidate the corresponding cache entry and so the stats entry will be updated on the next request.
      If there are old copies of statistics they should not be deleted until optimizer finished using it.

            Assignee:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Reporter:
            misha.tyulenev@mongodb.com Misha Tyulenev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: