summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2015-10-30 12:02:31 -0400
committerRandolph Tan <randolph@10gen.com>2015-10-30 13:14:23 -0400
commitdb0e3e67c7bd0f8319103ea0aba98f8085256ab7 (patch)
treec6e0868f5cca74bce83fff39c2c20593dc3d80c6 /src/mongo
parent965d98e5c5185f30edcbee810685ab0ab6810f8d (diff)
downloadmongo-db0e3e67c7bd0f8319103ea0aba98f8085256ab7.tar.gz
SERVER-21034 Sharding should log ignored deletions at higher log level
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/s/migration_destination_manager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/db/s/migration_destination_manager.cpp b/src/mongo/db/s/migration_destination_manager.cpp
index f9746f2b214..300ca138e24 100644
--- a/src/mongo/db/s/migration_destination_manager.cpp
+++ b/src/mongo/db/s/migration_destination_manager.cpp
@@ -825,8 +825,7 @@ bool MigrationDestinationManager::_applyMigrateOp(OperationContext* txn,
BSONObj fullObj;
if (Helpers::findById(txn, ctx.db(), ns.c_str(), id, fullObj)) {
if (!isInRange(fullObj, min, max, shardKeyPattern)) {
- log() << "not applying out of range deletion: " << fullObj << migrateLog;
-
+ LOG(2) << "not applying out of range deletion: " << fullObj << migrateLog;
continue;
}
}