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

Clear and regenerate _wildcardIndexDiscriminators when updating the plan cache discriminators

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.5
    • 4.1 Required
    • Index Maintenance, Querying
    • None
    • Fully Compatible
    • ALL
    • Query 2018-10-22
    • 56

    Description

      When an index is created or destroyed, we update the list of discriminators in the plan cache to reflect the new set of indexes. Unlike standard indexes, however, for wildcard indexes we only ever add new entries into the discriminator set. This means that the discriminators for wildcard indexes that have been dropped are incorrectly retained.

      Attachments

        Activity

          People

            bernard.gorman@mongodb.com Bernard Gorman
            bernard.gorman@mongodb.com Bernard Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: