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

Hidden index tests should verify index filter behaviour

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc6, 4.7.0
    • Affects Version/s: None
    • Component/s: Index Maintenance
    • None
    • Fully Compatible
    • v4.4
    • Query 2020-05-18

      In addition to their current coverage, the index filter tests should verify that:

      • When a query with a shape matching an index filter is executed, the index referenced by the filter is not used to answer the query if that index is currently hidden
      • If an alternative non-hidden index is available in the filter, it is used to answer the query. Otherwise, the planner outputs a COLLSCAN.
      • Un-hiding the index restores the index filter behaviour
      • It is legal to set an index filter on a hidden index, but the index will not actually be used until it is made visible

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

              Created:
              Updated:
              Resolved: