Clear and regenerate _wildcardIndexDiscriminators when updating the plan cache discriminators

XMLWordPrintableJSON

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

      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
            Reporter:
            Bernard Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: