summaryrefslogtreecommitdiff
path: root/src/mongo/db/transaction_reaper.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-12-28 15:57:04 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-12-29 11:18:06 -0500
commitbeff09aa6febc3739ecd095cd402e4fc4fe1d87e (patch)
tree4e1b100ad4b426927dbc4d1a93e5ab4364d0f4c4 /src/mongo/db/transaction_reaper.cpp
parent7a9eff66dad1a2387b088cc0262cb004f4b7a18b (diff)
downloadmongo-beff09aa6febc3739ecd095cd402e4fc4fe1d87e.tar.gz
SERVER-32480 Remove CatalogCache retrieval methods, which take StringData
(cherry picked from commit a0210b2e83641619eed60c8b19eb1abd7cf37fa1)
Diffstat (limited to 'src/mongo/db/transaction_reaper.cpp')
-rw-r--r--src/mongo/db/transaction_reaper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/transaction_reaper.cpp b/src/mongo/db/transaction_reaper.cpp
index 9877fa4974d..fb49f36aed0 100644
--- a/src/mongo/db/transaction_reaper.cpp
+++ b/src/mongo/db/transaction_reaper.cpp
@@ -229,7 +229,7 @@ public:
if (!(_cm || _primary)) {
auto routingInfo =
uassertStatusOK(Grid::get(_opCtx)->catalogCache()->getCollectionRoutingInfo(
- _opCtx, SessionsCollection::kSessionsFullNS));
+ _opCtx, NamespaceString(SessionsCollection::kSessionsFullNS)));
_cm = routingInfo.cm();
_primary = routingInfo.primary();
}