diff options
Diffstat (limited to 'src/mongo/s/query')
-rw-r--r-- | src/mongo/s/query/cluster_aggregate.cpp | 1 | ||||
-rw-r--r-- | src/mongo/s/query/cluster_find.cpp | 1 | ||||
-rw-r--r-- | src/mongo/s/query/sharded_agg_test_fixture.h | 3 |
3 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/s/query/cluster_aggregate.cpp b/src/mongo/s/query/cluster_aggregate.cpp index 279c425ec68..4b2da5f2b34 100644 --- a/src/mongo/s/query/cluster_aggregate.cpp +++ b/src/mongo/s/query/cluster_aggregate.cpp @@ -39,7 +39,6 @@ #include "mongo/db/client.h" #include "mongo/db/commands.h" #include "mongo/db/curop.h" -#include "mongo/db/logical_clock.h" #include "mongo/db/operation_context.h" #include "mongo/db/pipeline/document_source_change_stream.h" #include "mongo/db/pipeline/document_source_out.h" diff --git a/src/mongo/s/query/cluster_find.cpp b/src/mongo/s/query/cluster_find.cpp index 57925b873ed..395f8080acd 100644 --- a/src/mongo/s/query/cluster_find.cpp +++ b/src/mongo/s/query/cluster_find.cpp @@ -45,7 +45,6 @@ #include "mongo/db/commands.h" #include "mongo/db/curop.h" #include "mongo/db/curop_failpoint_helpers.h" -#include "mongo/db/logical_clock.h" #include "mongo/db/query/canonical_query.h" #include "mongo/db/query/find_common.h" #include "mongo/db/query/getmore_request.h" diff --git a/src/mongo/s/query/sharded_agg_test_fixture.h b/src/mongo/s/query/sharded_agg_test_fixture.h index 0bfedd9f5db..c03354f9e5d 100644 --- a/src/mongo/s/query/sharded_agg_test_fixture.h +++ b/src/mongo/s/query/sharded_agg_test_fixture.h @@ -29,7 +29,6 @@ #pragma once -#include "mongo/db/logical_clock.h" #include "mongo/db/pipeline/document_source.h" #include "mongo/db/pipeline/expression_context_for_test.h" #include "mongo/db/pipeline/process_interface/stub_mongo_process_interface.h" @@ -58,8 +57,6 @@ public: void setUp() { CatalogCacheTestFixture::setUp(); - auto serviceCtx = operationContext()->getServiceContext(); - LogicalClock::set(serviceCtx, std::make_unique<LogicalClock>(serviceCtx)); _expCtx = make_intrusive<ExpressionContextForTest>(operationContext(), kTestAggregateNss); _expCtx->mongoProcessInterface = std::make_shared<FakeMongoProcessInterface>(executor()); _expCtx->inMongos = true; |