summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/sharding_ddl_util.h
diff options
context:
space:
mode:
authorauto-revert-processor <dev-prod-dag@mongodb.com>2023-04-29 08:07:38 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-29 08:41:41 +0000
commitd6087c6eb2130f8de42043120b64b58215540ef0 (patch)
tree6c5379115136c37713b39d802bd393074a4dbc28 /src/mongo/db/s/sharding_ddl_util.h
parentf0dadedbef1c68519c7b4a1b9ad5a639fe806db1 (diff)
downloadmongo-d6087c6eb2130f8de42043120b64b58215540ef0.tar.gz
Revert "SERVER-73539 Add replay protection in DDL when setting the allow migrations flag"
This reverts commit 20ebf6b1ccdf7a3e4fcb99547cd4c23f6e0b746a.
Diffstat (limited to 'src/mongo/db/s/sharding_ddl_util.h')
-rw-r--r--src/mongo/db/s/sharding_ddl_util.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/db/s/sharding_ddl_util.h b/src/mongo/db/s/sharding_ddl_util.h
index 47de8ca794a..f0dd0a62f30 100644
--- a/src/mongo/db/s/sharding_ddl_util.h
+++ b/src/mongo/db/s/sharding_ddl_util.h
@@ -183,8 +183,7 @@ boost::optional<CreateCollectionResponse> checkIfCollectionAlreadySharded(
*/
void stopMigrations(OperationContext* opCtx,
const NamespaceString& nss,
- const boost::optional<UUID>& expectedCollectionUUID,
- const boost::optional<OperationSessionInfo>& osi = boost::none);
+ const boost::optional<UUID>& expectedCollectionUUID);
/**
* Resume migrations and balancing rounds for the given nss.
@@ -193,8 +192,7 @@ void stopMigrations(OperationContext* opCtx,
*/
void resumeMigrations(OperationContext* opCtx,
const NamespaceString& nss,
- const boost::optional<UUID>& expectedCollectionUUID,
- const boost::optional<OperationSessionInfo>& osi = boost::none);
+ const boost::optional<UUID>& expectedCollectionUUID);
/**
* Calls to the config server primary to get the collection document for the given nss.