diff options
author | Cheahuychou Mao <mao.cheahuychou@gmail.com> | 2020-12-16 17:09:45 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-01-05 05:58:56 +0000 |
commit | dc3ef13edd2ec8054f97fd160e72dae5edec3061 (patch) | |
tree | b8198ba35ab8715f53df1b4ead6e493f034e2f1a /src/mongo/db/repl/tenant_migration_recipient_service.h | |
parent | 1dfe8355a2b034ded045191f4e3d4be827365621 (diff) | |
download | mongo-dc3ef13edd2ec8054f97fd160e72dae5edec3061.tar.gz |
SERVER-52707 Make tenant migration recipient use x509 certificate to connect to donor
Diffstat (limited to 'src/mongo/db/repl/tenant_migration_recipient_service.h')
-rw-r--r-- | src/mongo/db/repl/tenant_migration_recipient_service.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mongo/db/repl/tenant_migration_recipient_service.h b/src/mongo/db/repl/tenant_migration_recipient_service.h index 320eb9b5366..d0b4f13a4f6 100644 --- a/src/mongo/db/repl/tenant_migration_recipient_service.h +++ b/src/mongo/db/repl/tenant_migration_recipient_service.h @@ -286,9 +286,10 @@ public: * non-empty. Throws a user assertion on failure. * */ - std::unique_ptr<DBClientConnection> _connectAndAuth(const HostAndPort& serverAddress, - StringData applicationName, - BSONObj authParams); + std::unique_ptr<DBClientConnection> _connectAndAuth( + const HostAndPort& serverAddress, + StringData applicationName, + const TransientSSLParams* transientSSLParams); /** * Creates and connects both the oplog fetcher client and the client used for other @@ -387,8 +388,6 @@ public: const UUID _migrationUuid; // (R) const std::string _donorConnectionString; // (R) const ReadPreferenceSetting _readPreference; // (R) - // TODO(SERVER-50670): Populate authParams - const BSONObj _authParams; // (M) std::shared_ptr<ReplicaSetMonitor> _donorReplicaSetMonitor; // (M) |