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

Clear and regenerate _wildcardIndexDiscriminators when updating the plan cache discriminators

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.5
    • Affects Version/s: 4.1 Required
    • Component/s: Index Maintenance, Querying
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Query 2018-10-22
    • 56

      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.

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

              Created:
              Updated:
              Resolved: