diff options
author | Daniel Gottlieb <daniel.gottlieb@10gen.com> | 2017-02-24 09:51:25 -0500 |
---|---|---|
committer | Daniel Gottlieb <daniel.gottlieb@10gen.com> | 2017-02-24 09:51:25 -0500 |
commit | 9c9bbf3318113cfdd4d9b72f493b6ebd23f1837e (patch) | |
tree | 659bf628856f2da219319b11ffafad7aa2dbbc8d /src/mongo/db/write_concern.cpp | |
parent | f89ede4cc81a1307dec4b9e901fc91eb3f7f8992 (diff) | |
download | mongo-9c9bbf3318113cfdd4d9b72f493b6ebd23f1837e.tar.gz |
SERVER-18410: Replace RWLock with OperationContext/LockManager
Diffstat (limited to 'src/mongo/db/write_concern.cpp')
-rw-r--r-- | src/mongo/db/write_concern.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/write_concern.cpp b/src/mongo/db/write_concern.cpp index 6886bed64ca..77a90f0e396 100644 --- a/src/mongo/db/write_concern.cpp +++ b/src/mongo/db/write_concern.cpp @@ -199,7 +199,7 @@ Status waitForWriteConcern(OperationContext* txn, case WriteConcernOptions::SyncMode::FSYNC: { StorageEngine* storageEngine = getGlobalServiceContext()->getGlobalStorageEngine(); if (!storageEngine->isDurable()) { - result->fsyncFiles = storageEngine->flushAllFiles(true); + result->fsyncFiles = storageEngine->flushAllFiles(txn, true); } else { // We only need to commit the journal if we're durable txn->recoveryUnit()->waitUntilDurable(); |