summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbcommands_generic.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@10gen.com>2012-04-24 13:24:23 -0400
committerAndy Schwerin <schwerin@10gen.com>2012-04-24 14:05:01 -0400
commit4746c5f2802ab14551f1652d6618d0dd08459e1c (patch)
tree8dbf1d341c96d29822f880ee3729dfad57d8fdf7 /src/mongo/db/dbcommands_generic.cpp
parent5897f03e1526988a38b3b83be4867f9366865503 (diff)
downloadmongo-4746c5f2802ab14551f1652d6618d0dd08459e1c.tar.gz
Remove the tryToLock parameter from dbexit.
It was needed in exactly one codepath. This patch changes behavior slightly, trying the lock acquisition sooner in the shutdown process on the one codepath that used it.
Diffstat (limited to 'src/mongo/db/dbcommands_generic.cpp')
-rw-r--r--src/mongo/db/dbcommands_generic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/dbcommands_generic.cpp b/src/mongo/db/dbcommands_generic.cpp
index 9a10d5af2ab..4c67576e663 100644
--- a/src/mongo/db/dbcommands_generic.cpp
+++ b/src/mongo/db/dbcommands_generic.cpp
@@ -384,7 +384,7 @@ namespace mongo {
log() << "terminating, shutdown command received" << endl;
- dbexit( EXIT_CLEAN , "shutdown called" , true ); // this never returns
+ dbexit( EXIT_CLEAN , "shutdown called" ); // this never returns
verify(0);
return true;
}