Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

mr count for status uses limit SERVER-1573

  • Loading branch information...
commit 39279bd5a70b1ce794332588d26ca5f9079701db 1 parent db4569c
@erh erh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  db/commands/mr.cpp
View
2  db/commands/mr.cpp
@@ -442,7 +442,7 @@ namespace mongo {
MRTL * mrtl = new MRTL( state );
_tlmr.reset( mrtl );
- ProgressMeterHolder pm( op->setMessage( "m/r: (1/3) emit phase" , db.count( mr.ns , mr.filter ) ) );
+ ProgressMeterHolder pm( op->setMessage( "m/r: (1/3) emit phase" , db.count( mr.ns , mr.filter , 0 , mr.limit ) ) );
long long mapTime = 0;
{
readlock lock( mr.ns );
Please sign in to comment.
Something went wrong with that request. Please try again.