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

Disallow index selection for identical min & max values on find

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.2.19, 3.4.14, 3.6.4, 3.7.9
    • 3.2.21, 3.4.16, 3.6.6, 4.0.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • v3.6, v3.4, v3.2
    • Query 2018-05-21
    • 45

    Description

      As the max value is an exclusive bound, setting min and max to the same value will match nothing, even when an index exists that supports the key provided.

      Attachments

        Issue Links

          Activity

            People

              james.wahlin@mongodb.com James Wahlin
              james.wahlin@mongodb.com James Wahlin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: