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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.5, 2.5.1
    • Component/s: MapReduce
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      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

              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: