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

repl writer worker can't have undefined in a query expression

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.4.3
    • Fix Version/s: 2.5.3
    • Component/s: Replication
    • Labels:
      None
    • Environment:
      Ubuntu 12.04.1 LTS Linux 3.2.0-32-generic #51-Ubuntu SMP Wed Sep 26 21:33:09 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
    • Backwards Compatibility:
      Minor Change
    • Operating System:
      ALL

      Description

      MongoDB secondaries crash if master succeeds to add a document with _id set to undefined.

      Document is :

      { _id: undefined, migrated: new Date(1376502667931) }

      Master successfull adds this document, writes it to the oplog.
      All secondaries try to read oplog and fail everytime (restart).

      See attachment for error output.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              matt.dannenberg Matt Dannenberg
              Reporter:
              steffen Steffen
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: