summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/process_interface/mongos_process_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/pipeline/process_interface/mongos_process_interface.h')
-rw-r--r--src/mongo/db/pipeline/process_interface/mongos_process_interface.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/mongo/db/pipeline/process_interface/mongos_process_interface.h b/src/mongo/db/pipeline/process_interface/mongos_process_interface.h
index 055a9f1533b..c467e616078 100644
--- a/src/mongo/db/pipeline/process_interface/mongos_process_interface.h
+++ b/src/mongo/db/pipeline/process_interface/mongos_process_interface.h
@@ -214,19 +214,10 @@ public:
MONGO_UNREACHABLE;
}
- void setExpectedShardVersion(OperationContext* opCtx,
- const NamespaceString& nss,
- boost::optional<ChunkVersion> chunkVersion) override {
- MONGO_UNREACHABLE;
- }
-
- bool setExpectedDbVersion(OperationContext* opCtx,
- const NamespaceString& nss,
- DatabaseVersion dbVersion) override {
- MONGO_UNREACHABLE;
- }
-
- void unsetExpectedDbVersion(OperationContext* opCtx, const NamespaceString& nss) override {
+ std::unique_ptr<ScopedExpectUnshardedCollection> expectUnshardedCollectionInScope(
+ OperationContext* opCtx,
+ const NamespaceString& nss,
+ const boost::optional<DatabaseVersion>& dbVersion) override {
MONGO_UNREACHABLE;
}