summaryrefslogtreecommitdiff
path: root/src/mongo/db/transaction_history_iterator.cpp
diff options
context:
space:
mode:
authorJack Mulrow <jack.mulrow@mongodb.com>2017-07-17 18:51:05 -0400
committerJack Mulrow <jack.mulrow@mongodb.com>2017-07-19 10:52:38 -0400
commit57c63852d129681f84c2c35b4078f44e2426f53f (patch)
treeac69bf225b95f1766361614518b93f88d528497a /src/mongo/db/transaction_history_iterator.cpp
parent9d8bc8dc6c8d1dc92bbf466f27783464ed4f5704 (diff)
downloadmongo-57c63852d129681f84c2c35b4078f44e2426f53f.tar.gz
SERVER-28918 Move rsOplogName to NamespaceString
Diffstat (limited to 'src/mongo/db/transaction_history_iterator.cpp')
-rw-r--r--src/mongo/db/transaction_history_iterator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/transaction_history_iterator.cpp b/src/mongo/db/transaction_history_iterator.cpp
index 00acb8ef199..024204e338f 100644
--- a/src/mongo/db/transaction_history_iterator.cpp
+++ b/src/mongo/db/transaction_history_iterator.cpp
@@ -29,8 +29,8 @@
#include "mongo/platform/basic.h"
#include "mongo/db/dbdirectclient.h"
+#include "mongo/db/namespace_string.h"
#include "mongo/db/operation_context.h"
-#include "mongo/db/repl/oplog.h"
#include "mongo/db/repl/oplog_entry.h"
#include "mongo/db/transaction_history_iterator.h"
#include "mongo/logger/redaction.h"
@@ -51,7 +51,7 @@ repl::OplogEntry TransactionHistoryIterator::next(OperationContext* opCtx) {
DBDirectClient client(opCtx);
// TODO: SERVER-29843 oplogReplay option might be needed to activate fast ts search.
auto oplogBSON =
- client.findOne(repl::rsOplogName,
+ client.findOne(NamespaceString::kRsOplogNamespace.ns(),
BSON(repl::OplogEntryBase::kTimestampFieldName << _nextOpTimeTs),
/* fieldsToReturn */ nullptr,
0 /* QueryOption_OplogReplay */);