diff options
Diffstat (limited to 'src/mongo/s/cluster_ddl.cpp')
| -rw-r--r-- | src/mongo/s/cluster_ddl.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/s/cluster_ddl.cpp b/src/mongo/s/cluster_ddl.cpp index cae979d0aac..a5a4c03b0e3 100644 --- a/src/mongo/s/cluster_ddl.cpp +++ b/src/mongo/s/cluster_ddl.cpp @@ -35,7 +35,6 @@ #include "mongo/s/cluster_commands_helpers.h" #include "mongo/s/grid.h" -#include "mongo/s/transaction_router.h" namespace mongo { namespace cluster { @@ -95,10 +94,6 @@ CachedDatabaseInfo createDatabase(OperationContext* opCtx, if (suggestedPrimaryId) request.setPrimaryShardId(*suggestedPrimaryId); - if (auto txnRouter = TransactionRouter::get(opCtx)) { - txnRouter.annotateCreatedDatabase(dbName); - } - auto configShard = Grid::get(opCtx)->shardRegistry()->getConfigShard(); auto response = uassertStatusOK(configShard->runCommandWithFixedRetryAttempts( opCtx, |
