summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/config/sharding_catalog_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/config/sharding_catalog_manager.h')
-rw-r--r--src/mongo/db/s/config/sharding_catalog_manager.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mongo/db/s/config/sharding_catalog_manager.h b/src/mongo/db/s/config/sharding_catalog_manager.h
index b21b98f3265..9653a0ce6d3 100644
--- a/src/mongo/db/s/config/sharding_catalog_manager.h
+++ b/src/mongo/db/s/config/sharding_catalog_manager.h
@@ -394,10 +394,12 @@ public:
* exists, and if not, creates a new one that matches these prerequisites. If a database already
* exists and matches all the prerequisites returns success, otherwise throws NamespaceNotFound.
*/
- DatabaseType createDatabase(OperationContext* opCtx,
- StringData dbName,
- const boost::optional<ShardId>& optPrimaryShard,
- bool enableSharding);
+ DatabaseType createDatabase(
+ OperationContext* opCtx,
+ StringData dbName,
+ const boost::optional<ShardId>& optPrimaryShard,
+ // # TODO SERVER-63983: remove enableSharding paramter when 6.0 becomes lastLTS
+ bool enableSharding = false);
//
// Collection Operations