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

Check whether each expression inside of $elemMatch is compatible with a given index

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.11, 3.5.13
    • Affects Version/s: 3.0.0
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v3.4, v3.2, v3.0
    • Query 2017-09-11

      When running certain aggregation operations, it's possible to hit the following error:

      2017-08-14T16:16:08.382-0400 F -        [conn1] Invariant failure !index.sparse src/mongo/db/query/index_bounds_builder.cpp 306
      2017-08-14T16:16:08.382-0400 F -        [conn1] 
      ***aborting after invariant() failure
      2017-08-14T16:16:08.401-0400 F -        [conn1] Got signal: 6 (Abort trap: 6).
      

            Assignee:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Reporter:
            kimberly.hou Kimberly Hou
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: