diff options
author | Geert Bosch <geert@mongodb.com> | 2015-07-10 10:41:41 -0400 |
---|---|---|
committer | Geert Bosch <geert@mongodb.com> | 2015-07-10 10:41:41 -0400 |
commit | 357f28f0556a4fd6917efaa56c51cb2209fc965a (patch) | |
tree | 656be3e82432e264605bda13875e22a4fd5ae9a1 | |
parent | 55af30c1040e346e09dbf6b3aa496a241685dc78 (diff) | |
download | mongo-357f28f0556a4fd6917efaa56c51cb2209fc965a.tar.gz |
SERVER-19058: Don't call waitUntilDurable without goingToWaitUntilDurable
-rw-r--r-- | src/mongo/db/commands/get_last_error.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/commands/get_last_error.cpp b/src/mongo/db/commands/get_last_error.cpp index 2e5cd625086..79ab4e7bf67 100644 --- a/src/mongo/db/commands/get_last_error.cpp +++ b/src/mongo/db/commands/get_last_error.cpp @@ -253,6 +253,7 @@ public: } txn->setWriteConcern(writeConcern); + setupSynchronousCommit(txn); { stdx::lock_guard<Client> lk(*txn->getClient()); txn->setMessage_inlock("waiting for write concern"); |