diff options
author | Andy Schwerin <schwerin@10gen.com> | 2012-04-24 13:24:23 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@10gen.com> | 2012-04-24 14:05:01 -0400 |
commit | 4746c5f2802ab14551f1652d6618d0dd08459e1c (patch) | |
tree | 8dbf1d341c96d29822f880ee3729dfad57d8fdf7 /src/mongo/db/dbcommands_generic.cpp | |
parent | 5897f03e1526988a38b3b83be4867f9366865503 (diff) | |
download | mongo-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.cpp | 2 |
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; } |