diff --git a/s/chunk.cpp b/s/chunk.cpp index ef62647bf3a..eeea5917c3f 100644 --- a/s/chunk.cpp +++ b/s/chunk.cpp @@ -360,7 +360,7 @@ namespace mongo { << endl; BSONElement shouldMigrate = res["shouldMigrate"]; // not in mongod < 1.9.1 but that is ok - if (!shouldMigrate.eoo()){ + if (!shouldMigrate.eoo() && grid.shouldBalance()){ BSONObj range = shouldMigrate.embeddedObject(); BSONObj min = range["min"].embeddedObject(); BSONObj max = range["max"].embeddedObject();