diff options
Diffstat (limited to 'src/mongo/s/sharding_initialization.h')
-rw-r--r-- | src/mongo/s/sharding_initialization.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/s/sharding_initialization.h b/src/mongo/s/sharding_initialization.h index 33e3046074c..f2e3d12db8b 100644 --- a/src/mongo/s/sharding_initialization.h +++ b/src/mongo/s/sharding_initialization.h @@ -63,13 +63,13 @@ extern const StringData kDistLockProcessIdForConfigServer; /** * Generates a uniform string to be used as a process id for the distributed lock manager. */ -std::string generateDistLockProcessId(OperationContext* txn); +std::string generateDistLockProcessId(OperationContext* opCtx); /** * Takes in the connection string for reaching the config servers and initializes the global * ShardingCatalogClient, ShardingCatalogManager, ShardRegistry, and Grid objects. */ -Status initializeGlobalShardingState(OperationContext* txn, +Status initializeGlobalShardingState(OperationContext* opCtx, const ConnectionString& configCS, StringData distLockProcessId, std::unique_ptr<ShardFactory> shardFactory, @@ -80,6 +80,6 @@ Status initializeGlobalShardingState(OperationContext* txn, * Tries to contact the config server and reload the shard registry and the cluster ID until it * succeeds or is interrupted. */ -Status reloadShardRegistryUntilSuccess(OperationContext* txn); +Status reloadShardRegistryUntilSuccess(OperationContext* opCtx); } // namespace mongo |