diff options
author | Haley Connelly <haley.connelly@mongodb.com> | 2021-06-15 19:51:38 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-06-17 17:50:30 +0000 |
commit | c865688f1993bba72cbffc39d5e80f21313ba4ee (patch) | |
tree | 1158aadcf8212a30f1c3791e0918dd744640f6ca /src/mongo/db/s/resharding/resharding_oplog_fetcher_test.cpp | |
parent | 9b3de8ee95340dedf91e47d1e81e327c2875cc7b (diff) | |
download | mongo-c865688f1993bba72cbffc39d5e80f21313ba4ee.tar.gz |
SERVER-57478 Remove code related to local.system.resharding.slimOplogForGraphLookup view
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_oplog_fetcher_test.cpp')
-rw-r--r-- | src/mongo/db/s/resharding/resharding_oplog_fetcher_test.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/s/resharding/resharding_oplog_fetcher_test.cpp b/src/mongo/db/s/resharding/resharding_oplog_fetcher_test.cpp index 958ac588789..40ce2dcf21e 100644 --- a/src/mongo/db/s/resharding/resharding_oplog_fetcher_test.cpp +++ b/src/mongo/db/s/resharding/resharding_oplog_fetcher_test.cpp @@ -93,7 +93,6 @@ public: { Lock::GlobalWrite lk(_opCtx); OldClientContext ctx(_opCtx, NamespaceString::kRsOplogNamespace.ns()); - createSlimOplogView(_opCtx, ctx.db()); } // Initialize ReshardingMetrics to a recipient state compatible with fetching. @@ -189,15 +188,10 @@ public: } boost::intrusive_ptr<ExpressionContextForTest> createExpressionContext() { - NamespaceString slimNss = - NamespaceString("local.system.resharding.slimOplogForGraphLookup"); - boost::intrusive_ptr<ExpressionContextForTest> expCtx( new ExpressionContextForTest(_opCtx, NamespaceString::kRsOplogNamespace)); expCtx->setResolvedNamespace(NamespaceString::kRsOplogNamespace, {NamespaceString::kRsOplogNamespace, {}}); - expCtx->setResolvedNamespace(slimNss, - {slimNss, std::vector<BSONObj>{getSlimOplogPipeline()}}); return expCtx; } |