[SERVER-71262] Tenant migration donor and recipient state documents stores the list of donor tenants to be imported in new field "tenantIDs" Created: 10/Nov/22  Updated: 29/Oct/23  Resolved: 16/Dec/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Suganthi Mani Assignee: Didier Nadeau
Resolution: Fixed Votes: 0
Labels: shard-merge-milestone-3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-71263 Create RTAB at the start of the merg... Closed
is depended on by SERVER-71831 Shard merge R ensures it only copies ... Closed
Duplicate
is duplicated by SERVER-71972 Add list of tenant Ids to recipientSy... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-12-12, Server Serverless 2022-12-26
Participants:

 Description   

Add a new optional FCV guarded field called "TenantIds". For shard merge protocol, this field is mandatory and should be non-empty.  For MTM protocol, this field should be empty.  On violating, the above contract, throw `ErrorCodes::InvalidOptions` error.

Note: This also includes Server self-defense fix to prevent Cloud foul play in sending the tenantID list.



 Comments   
Comment by Githook User [ 16/Dec/22 ]

Author:

{'name': 'Didier Nadeau', 'email': 'didier.nadeau@mongodb.com', 'username': 'nadeaudi'}

Message: SERVER-71262 Add tenantIds field to shard merge state documents and tenant migration recipient commands
Branch: master
https://github.com/mongodb/mongo/commit/6e6e6cb3daf63502666c984a78bc1961585d9f12

Generated at Thu Feb 08 06:18:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.