summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding/resharding_oplog_fetcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_oplog_fetcher.cpp')
-rw-r--r--src/mongo/db/s/resharding/resharding_oplog_fetcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/resharding/resharding_oplog_fetcher.cpp b/src/mongo/db/s/resharding/resharding_oplog_fetcher.cpp
index b04e86afe80..2dce0fee77b 100644
--- a/src/mongo/db/s/resharding/resharding_oplog_fetcher.cpp
+++ b/src/mongo/db/s/resharding/resharding_oplog_fetcher.cpp
@@ -191,7 +191,7 @@ boost::optional<ReshardingDonorOplogId> ReshardingOplogFetcher::iterate(
// Create the destination collection if necessary.
writeConflictRetry(opCtx, "createReshardingLocalOplogBuffer", toWriteToNss.toString(), [&] {
const CollectionPtr toWriteTo =
- CollectionCatalog::get(opCtx).lookupCollectionByNamespace(opCtx, toWriteToNss);
+ CollectionCatalog::get(opCtx)->lookupCollectionByNamespace(opCtx, toWriteToNss);
if (toWriteTo) {
return;
}