diff options
author | Randolph Tan <randolph@10gen.com> | 2014-01-09 11:25:52 -0500 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2014-01-13 11:58:16 -0500 |
commit | 24e794f5d3515469685a45703ca0d0505d4b5687 (patch) | |
tree | 923f5b5bbb6423370105a6f05099a5b99bc1712f /src/mongo/db/range_deleter_db_env.cpp | |
parent | 77148d5a6c3e775c8e5e2944fac9695833f11b52 (diff) | |
download | mongo-24e794f5d3515469685a45703ca0d0505d4b5687.tar.gz |
SERVER-11376 cleanupOrphaned errMsg and log contains moveChunk
Diffstat (limited to 'src/mongo/db/range_deleter_db_env.cpp')
-rw-r--r-- | src/mongo/db/range_deleter_db_env.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mongo/db/range_deleter_db_env.cpp b/src/mongo/db/range_deleter_db_env.cpp index ed6e903bcab..1be9f169c74 100644 --- a/src/mongo/db/range_deleter_db_env.cpp +++ b/src/mongo/db/range_deleter_db_env.cpp @@ -122,8 +122,9 @@ namespace mongo { while (!opReplicatedEnough(lastOpApplied, BSON("w" << "majority").firstElement())) { if (elapsedTime.seconds() >= 3600) { - *errMsg = str::stream() << "moveChunk repl sync timed out after " - << elapsedTime.seconds() << " seconds"; + *errMsg = str::stream() << "rangeDeleter timed out after " + << elapsedTime.seconds() << " seconds while waiting" + << " for deletions to be replicated to majority nodes"; if (!initiallyHaveClient) { cc().shutdown(); @@ -136,8 +137,8 @@ namespace mongo { } LOG(elapsedTime.seconds() < 30 ? 1 : 0) - << "moveChunk repl sync took " - << elapsedTime.seconds() << " seconds" << endl; + << "rangeDeleter took " << elapsedTime.seconds() << " seconds " + << " waiting for deletes to be replicated to majority nodes" << endl; } if (!initiallyHaveClient) { |