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

Standalone server crash with 'Unique index cursor seeing multiple records for key { : null } '

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Duplicate
    • Affects Version/s: 4.0.4, 4.0.10
    • Fix Version/s: None
    • Component/s: Index Maintenance
    • Labels:
      None
    • Operating System:
      ALL
    • Steps To Reproduce:
      1. Have an unique index on a field.
      2. Have multiple documents without that indexed field
      3. Make a query with { field: {$exists: false } }

      Description

      Mongo server crashes when it sees multiple records for key 'null' in an unique index. It won't restart unless the systemd service has endless respawn configured.

        Attachments

        1. mongo-crash-log.log
          13 kB
          Lauri Hälinen

          Issue Links

            Activity

              People

              Assignee:
              daniel.hatcher Danny Hatcher (Inactive)
              Reporter:
              h-line Lauri Hälinen
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: