summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-02-10 10:00:31 -0500
committerEliot Horowitz <eliot@10gen.com>2011-02-10 10:00:31 -0500
commit621b4f0338164a33fe5a3452ffd4060a3a5ebd9b (patch)
tree8206ed28f98a4c6c463ba7a12185caf60d9d2d22
parent9fbb64caf399b097eba973d263c1c480d7893e16 (diff)
downloadmongo-621b4f0338164a33fe5a3452ffd4060a3a5ebd9b.tar.gz
better error message for old lock file
-rw-r--r--db/instance.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/instance.cpp b/db/instance.cpp
index 36639c1fab3..75de462a1ff 100644
--- a/db/instance.cpp
+++ b/db/instance.cpp
@@ -904,6 +904,7 @@ namespace mongo {
<< "old lock file: " << name << ". probably means unclean shutdown\n"
<< "but there are no journal files to recover.\n"
<< "this is likely human error of filesystem corruption.\n"
+ << "found " << dbnames.size() << " dbs.\n"
<< "see: http://dochub.mongodb.org/core/repair for more information\n"
<< "*************";
}