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

Disallow index selection for identical min & max values on find

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.21, 3.4.16, 3.6.6, 4.0.0-rc0
    • Affects Version/s: 3.2.19, 3.4.14, 3.6.4, 3.7.9
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v3.6, v3.4, v3.2
    • Query 2018-05-21
    • 45
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None