diff options
Diffstat (limited to 'src/mongo/db/repl/sync.cpp')
-rw-r--r-- | src/mongo/db/repl/sync.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/sync.cpp b/src/mongo/db/repl/sync.cpp index 9a4b5ad8073..814ea19997c 100644 --- a/src/mongo/db/repl/sync.cpp +++ b/src/mongo/db/repl/sync.cpp @@ -37,7 +37,7 @@ #include "mongo/db/structure/catalog/namespace_details.h" #include "mongo/db/pdfile.h" #include "mongo/db/repl/oplogreader.h" -#include "mongo/db/storage/mmap_v1/dur_transaction.h" +#include "mongo/db/operation_context_impl.h" #include "mongo/db/catalog/collection.h" #include "mongo/util/assert_util.h" #include "mongo/util/log.h" @@ -110,7 +110,7 @@ namespace mongo { // should already have write lock const char *ns = o.getStringField("ns"); Client::Context ctx(ns); - DurTransaction txn; + OperationContextImpl txn; // we don't have the object yet, which is possible on initial sync. get it. log() << "replication info adding missing object" << endl; // rare enough we can log |