diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2021-02-11 11:28:13 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-02-21 11:29:04 +0000 |
commit | d01febfefb28d3aab5305eb1dbcd6d047139c654 (patch) | |
tree | de0f45a2c56eb9d5dfb8751837aaba6766872d25 /src/mongo/db/s/sharding_ddl_util_test.cpp | |
parent | 5199abc5b9113e310a79d9ec29a5ac6b77ad5682 (diff) | |
download | mongo-d01febfefb28d3aab5305eb1dbcd6d047139c654.tar.gz |
SERVER-52812 Unify the implicit createDatabase/enableSharding flow
This change makes both enableSharding and the implicit createDatabase
from the routers to go through the same _configsvrCreateDatabase
command. This command has the sole responsibility now of creating (or
ensuring it is created) a database with the specified name, optional
primary flag and optional enableSharding field.
Diffstat (limited to 'src/mongo/db/s/sharding_ddl_util_test.cpp')
-rw-r--r-- | src/mongo/db/s/sharding_ddl_util_test.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/s/sharding_ddl_util_test.cpp b/src/mongo/db/s/sharding_ddl_util_test.cpp index a92a39c080c..ab2bb5565d6 100644 --- a/src/mongo/db/s/sharding_ddl_util_test.cpp +++ b/src/mongo/db/s/sharding_ddl_util_test.cpp @@ -35,7 +35,6 @@ #include "mongo/db/logical_session_cache_noop.h" #include "mongo/db/namespace_string.h" #include "mongo/db/s/config/config_server_test_fixture.h" -#include "mongo/db/s/config/sharding_catalog_manager.h" #include "mongo/db/s/sharding_ddl_util.h" #include "mongo/db/s/transaction_coordinator_service.h" #include "mongo/logv2/log.h" |