summaryrefslogtreecommitdiff
path: root/s/d_migrate.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-07-16 18:05:10 -0400
committerEliot Horowitz <eliot@10gen.com>2011-07-16 18:05:10 -0400
commit1a2e5dffc452c2d9eb24568c9fc42cece202caa9 (patch)
tree994d4ca59edcf08920ef81dce9abc82024f17628 /s/d_migrate.cpp
parentbe97415494a5580b82ebe3a12064924ccac7b068 (diff)
downloadmongo-1a2e5dffc452c2d9eb24568c9fc42cece202caa9.tar.gz
try to make log more useful
Diffstat (limited to 's/d_migrate.cpp')
-rw-r--r--s/d_migrate.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/s/d_migrate.cpp b/s/d_migrate.cpp
index c96c0ede698..82081cafc63 100644
--- a/s/d_migrate.cpp
+++ b/s/d_migrate.cpp
@@ -1474,9 +1474,10 @@ namespace mongo {
bool flushPendingWrites( const ReplTime& lastOpApplied ) {
if ( ! opReplicatedEnough( lastOpApplied ) ) {
+ OpTime op( lastOpApplied );
OCCASIONALLY warning() << "migrate commit waiting for " << slaveCount
<< " slaves for '" << ns << "' " << min << " -> " << max
- << " waiting for: " << lastOpApplied
+ << " waiting for: " << op
<< migrateLog;
return false;
}