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

map reduce doesn't seem to yield unless it finds matches

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.4.5, 2.5.1
    • MapReduce
    • None
    • Fully Compatible
    • ALL

    Description

      Mongod operations that support yielding must periodically yield a db lock voluntarily. The map reduce implementation does not yield the db lock voluntarily while its cursor iterates over non matching documents.

      from mr.cpp

                              while ( cursor->ok() ) {
                                  if ( ! cursor->currentMatches() ) {
                                      cursor->advance();
                                      continue;
                                  }

      Attachments

        Issue Links

          Activity

            People

              dan@mongodb.com Daniel Pasette
              aaron Aaron Staple
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: