[SERVER-37592] Clear and regenerate _wildcardIndexDiscriminators when updating the plan cache discriminators Created: 12/Oct/18 Updated: 29/Oct/23 Resolved: 12/Oct/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance, Querying |
| Affects Version/s: | 4.1 Required |
| Fix Version/s: | 4.1.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Bernard Gorman | Assignee: | Bernard Gorman |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Query 2018-10-22 | ||||
| Participants: | |||||
| Linked BF Score: | 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. |
| Comments |
| Comment by Githook User [ 12/Oct/18 ] |
|
Author: {'name': 'Bernard Gorman', 'email': 'bernard.gorman@gmail.com', 'username': 'gormanb'}Message: |