summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/tenant_migration_state_machine.idl
diff options
context:
space:
mode:
authorCheahuychou Mao <mao.cheahuychou@gmail.com>2020-11-23 06:40:22 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-01-05 00:39:04 +0000
commitfee631bc61d2fc85bd727967cfb4f2f243395461 (patch)
treee7ef493d74477b00b93f242e6ea973877d1a4306 /src/mongo/db/repl/tenant_migration_state_machine.idl
parente2f5ada302c5541dc7af96391583e327820a5f5e (diff)
downloadmongo-fee631bc61d2fc85bd727967cfb4f2f243395461.tar.gz
SERVER-52708 Make tenant migration donor take certificate as string in donorStartMigration command
Diffstat (limited to 'src/mongo/db/repl/tenant_migration_state_machine.idl')
-rw-r--r--src/mongo/db/repl/tenant_migration_state_machine.idl11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mongo/db/repl/tenant_migration_state_machine.idl b/src/mongo/db/repl/tenant_migration_state_machine.idl
index 2f444f9f9f2..ea808921f2a 100644
--- a/src/mongo/db/repl/tenant_migration_state_machine.idl
+++ b/src/mongo/db/repl/tenant_migration_state_machine.idl
@@ -34,6 +34,7 @@ global:
imports:
- "mongo/client/read_preference_setting.idl"
- "mongo/db/repl/replication_types.idl"
+ - "mongo/db/repl/tenant_migration_pem_payload.idl"
- "mongo/idl/basic_types.idl"
enums:
@@ -106,6 +107,16 @@ structs:
The wall-clock time at which the state machine document should be
removed by the TTL monitor.
optional: true
+ donorCertificateForRecipient:
+ description: >-
+ The SSL certificate and private key that the donor should use to authenticate
+ to the recipient.
+ type: TenantMigrationPEMPayload
+ recipientCertificateForDonor:
+ description: >-
+ The SSL certificate and private key that the recipient should use to
+ authenticate to the donor.
+ type: TenantMigrationPEMPayload
tenantMigrationRecipientDocument:
description: "Represents an in-progress tenant migration on the migration recipient."