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

Hidden index tests should verify index filter behaviour

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0-rc6, 4.7.0
    • Component/s: Index Maintenance
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4
    • Sprint:
      Query 2020-05-18

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: