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

Disallow index selection for identical min & max values on find

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.2.19, 3.4.14, 3.6.4, 3.7.9
    • Fix Version/s: 3.2.21, 3.4.16, 3.6.6, 4.0.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v3.6, v3.4, v3.2
    • Sprint:
      Query 2018-05-21
    • Case:
    • Linked BF Score:
      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

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: