summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/sharding_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/sharding_state.h')
-rw-r--r--src/mongo/db/s/sharding_state.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/s/sharding_state.h b/src/mongo/db/s/sharding_state.h
index fb220c9aaea..e049d0fcb3b 100644
--- a/src/mongo/db/s/sharding_state.h
+++ b/src/mongo/db/s/sharding_state.h
@@ -106,12 +106,6 @@ public:
OID clusterId();
/**
- * Returns true if this node is a shard and if the currently runnint operation must engage the
- * sharding subsystem (i.e., perform version checking, orphan filtering, etc).
- */
- bool needCollectionMetadata(OperationContext* opCtx, const std::string& ns);
-
- /**
* For testing only. This is a workaround for the fact that it is not possible to get a clean
* ServiceContext in between test executions. Because of this, tests which require that they get
* started with a clean (uninitialized) ShardingState must invoke this in their tearDown method.