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

incorrect index bounds union

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.5.3
    • Fix Version/s: 2.5.5
    • Component/s: Querying
    • Labels:
    • Operating System:
      ALL

      Description

      When we have a $or query with two clauses on the same field:

      0 < a < 5
       
      or
       
      5 <  a < 10

      the query optimizer is generating the following index bounds:

      0 < a < 10

      which is incorrect (5 should not be in bounds).

        Attachments

        1. server11725.js
          0.5 kB
          Benety Goh

          Activity

            People

            Assignee:
            benety.goh Benety Goh
            Reporter:
            benety.goh Benety Goh
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: