summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}