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

if a replicaset member goes down during a $out we are left with an inconsistent state

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.5.2
    • 2.5.3
    • Aggregation Framework
    • ALL

    Description

      If you kill a server during $out you well end up in one of two bad states.

      If it's the primary you kill, the secondaries are left with the tmp collections.

      If it's a secondary you kill, that secondary will drop the tmp collection when it restarts and then continue building the tmp collection as it reads the primary's oplog. As a result, the entries written before the reboot are absent from the output collection once the aggregation has finished.

      Attachments

        Issue Links

          Activity

            People

              mathias@mongodb.com Mathias Stearn
              matt.dannenberg Matt Dannenberg
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: