Someone asked if repair can automatically clear the lock file. Do we want to implement that?
aaron-staples-macbook-pro:mongo3 aaron$ ./mongod --repair
Tue Aug 10 10:48:53 MongoDB starting : pid=61129 port=27017 dbpath=/data/db/ 64-bit
Tue Aug 10 10:48:53 db version v1.6.0, pdfile version 4.5
Tue Aug 10 10:48:53 git version: 2c7f164b653f0d703947572ede064aed41cc2185
Tue Aug 10 10:48:53 sys info: Darwin aaron-staples-macbook-pro.local 10.3.0 Darwin Kernel Version 10.3.0: Fri Feb 26 11:58:09 PST 2010; root:xnu-1504.3.12~1/RELEASE_I386 i386 BOOST_LIB_VERSION=1_42
-
-
-
-
-
-
-
-
-
-
-
-
-
old lock file: /data/db/mongod.lock. probably means unclean shutdown
recommend removing file and running --repair
see: http://dochub.mongodb.org/core/repair for more information
*************
-
-
-
-
-
-
-
-
-
-
-
-